3 ms·
Nice article. A little meta-study and then some practical usage compared. Facebook is also working on ReasonML (a new front-end and some tooling for OCaml/Buck
by cies 9y ago
Nice article. A little meta-study and then some practical usage compared.
Facebook is also working on ReasonML (a new front-end and some tooling for OCaml/BuckleScript) that compiles to JS and has strong typing. Stronger than either TS of Flow has.
I think in the long run ReasonML is a better approach: the underlying language (OCaml) is carefully designed, where JS seemed to have "happened".
Other options that have even stronger typing are Elm, PureScript and Haskell/GHCJS.
Here's a great article describing all the promising projects in functional/strongtypes front-end land:
https://medium.com/@saurabhnanda/benchmarks-fp-languages-libraries-for-front-end-development-a11af0542f7e https://medium.com/@saurabhnanda/benchmarks-fp-languages-lib...