Echo JS 0.11.0

<~>

MaxArt 2892 days ago. link 2 points
It seems to me it's more or less a patchwork of old and future features of JavaScript, including:
- `do` expressions
- pattern matching
- comprehensions
all with some CoffeeScript flavor. Throw in the mix JSX and Flow.

I'm not attracted to that at the moment. Except for JSX, everything else is pretty much in the backlog of EcmaScript.
kirilloid 2891 days ago. link 1 point
I'd disagree with MaxArt.
There are more things which wouldn't be available in ECMAScript in the next few years:
- types
- all variables *and* object fields are immutable by default
- ADTs & pattern matching
- compile-time auto-currying

Block as expressions (`do` and others) are minor things as well as special keyword for recursive functions or Pascal-like range loops, which do not define key language features.

But I'm still not convinced the language is really useful. We already have tons of languages, including BuckleScript – an Ocaml specifically designed to be compiled into JS.