3 ms·
> I am not opposed to adding strong type checking to JavaScript, but Typescript ain't it. If you are curious about this, you might be interested in checking ou
by k_ 5y ago
> I am not opposed to adding strong type checking to JavaScript, but Typescript ain't it.
If you are curious about this, you might be interested in checking out Haxe [0]. It has static typing, type inference, pattern matching [1] (maybe not on par with ML languages, but still good), and can transpile to multiple targets [2] including JS.
[0]: https://haxe.org https://haxe.org
[1]: https://haxe.org/manual/lf-pattern-matching.html https://haxe.org/manual/lf-pattern-matching.html
[2]: https://haxe.org/documentation/introduction/compiler-targets.html https://haxe.org/documentation/introduction/compiler-targets...
- xvilka 5y agoThere are also notable Rescript [1], Melange [2], Reason [3], PureScript[4]. [1] https://rescript-lang.org/ https://rescript-lang.org/ [2] https://github.com/melange-re/melange https://github.com/melange-re/melange [3] https://reasonml.github.io/ https://reasonml.github.io/ [4] https://www.purescript.org/ https://www.purescript.org/