what's the betting, typescript3 implements immutable data structures, and
everyone will be cooing about them (like they are know with non-nullable
types ; ) imo, immutability is the biggest missing feature in js...
On Fri, 7 Oct 2016 at 00:06 Zinggi wrote:
> > And all
> And all this stuff about immutability, can be easily achieved in plain
javaScript.
You claim that you can achieve all the the things that elm does by being
disciplined enough, but that's not true. Here are a few things that only
elm can provide that JavaScript can't.
These things are only
You can get good code without Elm's type system, but what you won't get is
a compiler as an assistant.
Made a small typo? The compiler tells you. Mixed up the first and second
arguments to a function? Usually a type error, so the compiler tells you.
Most importantly, refactoring becomes easy.