3 ms·
On the other functional JavaScript side of things, there are also Elm and Purescript. They are both pure functional, and both are ML-inspired (strongly typed,
by wyager 10y ago
On the other functional JavaScript side of things, there are also Elm and Purescript. They are both pure functional, and both are ML-inspired (strongly typed, equational, ADTs with pattern matching, etc.). Elm is a fair bit easier to get started with, but has a substantially weaker type system and fewer useful functional features. Purescript is a fair bit more difficult to get started with, but has a substantially more powerful type system and lots of useful features like effect types.
Personally, I greatly prefer ML style languages to lisp style languages. I get fed up with all the parentheses in lisps.
- michaelsbradley 10y agoBuckleScript is worth a look too: http://bloomberg.github.io/bucklescript/ http://bloomberg.github.io/bucklescript/ It's in the OCaml-to-JS family.