DEV Community

Discussion on: Reason got an Update

Collapse
 
eljayadobe profile image
Eljay-Adobe

For people that prefer the OCaml style over the changes in Reason to make it more JavaScript-esque, one could consider Elm.

Collapse
 
kayis profile image
K

Yes, Elm is nice too.

But I had the impression that the Elm ecosystem is rather self-contained with its run-time etc.

Collapse
 
eljayadobe profile image
Eljay-Adobe

Elm also has JavaScript Interop, when there is a reason to bridge out of Elm's self-contained ecosystem.

Probably a lot of caveats. I haven't needed to do that, since I've only done toy Elm programs for fun.

Thread Thread
 
kayis profile image
K

I read that it is a bit of a struggle to make Elm work with JS libs, that's probably one of the reasons why FB build it's own language.

As far as I know, they did some things with SML and OCaml before, even React and they had good experience, but JS devs didn't like it, so they went for their own thing.