63 ms·
For anyone interested and isn't aware yet Facebook is developing Reason, a layer over OCaml. I've been fiddling with it for the past couple of weeks and coming
by vmasto 9y ago
For anyone interested and isn't aware yet Facebook is developing Reason, a layer over OCaml. I've been fiddling with it for the past couple of weeks and coming from JavaScript I personally found the experience generally enjoyable.
https://facebook.github.io/reason/ https://facebook.github.io/reason/
- adriancooney 9y agoThat was an extremely pleasant and convincing introduction, thank you for that. I'm definitely going to give this a try in future projects.
- mhink 9y agoHah! Thanks for the link- I discovered this gem just now in their list of comparisons to JS syntax: Javascript | Reason --------------+---------------------------- const x = y; | let x = y; let x = y; | reference cells var x = y; | No equivalent (thankfully)
- vmasto 9y ago:) Yeah, unfortunately JavaScript can only be improved by educating people not to use the horrible parts (rather than fixing/deprecating them which is not possible). const and let were extremely necessary.