3 ms·
I had this exact same question and couldn't find much out there. Based on what I have seen ReasonML is being pushed more within the React community and has mor
by bcheung 7y ago
I had this exact same question and couldn't find much out there.
Based on what I have seen ReasonML is being pushed more within the React community and has more of a JS syntax so there is less of an abrupt change in terms of language.
PureScript follows the Haskell syntax that I personally like more and find cleaner and more useful for FP programming.
The ReasonML code I've seen doesn't have as much computer science rigor or abstractions like monads. This means the ReasonML community generally works at a lower level of abstraction compared to the PureScript crowd.
The interop with JS looks a cleaner in PS.
The tooling looks better around ReasonML especially around fast compilation and automatic reloading.
PureScript has a richer type system.
Personally, I would rather use PS but I've studied Haskell a bit already. For people without the Haskell background ReasonML provides an easier transition so it is an easier sell for a team.