|
|
|
|
|
by consilient
1043 days ago
|
|
Purescript has by far the strongest type system of any mature compile-to-js language, good FFI, footprint comparable to react. Elm is a heavily stripped down purescript, plus an ambiguously-benevolent dictator for life. Also truly terrible interop. It's a good learning environment but I would strongly recommend against using it for anything big. Rescript is basically Ocaml with half-js syntax. Typescript is bizarre. On a scale from 0 (C) to 10 (Haskell), it's a 12, a 6, and a 2 duct taped together. It's got some incredibly powerful features (template literals, conditional types), but it's missing most of the standard "advanced"-but-production-ready type system features (e.g. no HKTs, no type-directed emit) and the foundation is absolutely riddled with soundness holes. |
|