by weberc2 · 10y ago · 0 comments
No, this is not a silly notion. But I don't think the difference Reason makes is as big as you think. I mean, I don't really believe that you can read this:
let foo = if (cond) { x } else { y };
foo + 1
but not this: let foo = if cond then x else y
in
foo + 1But I admit that I probably can't fully appreciate whether this is really difficult for someone used to JavaScript.