3 ms·
> Yes. The author probably would be equally satisfied with any robust typed solution (flowtype, typescript). Neither is even remotely as robust — let alone fri
by masklinn 9y ago
> Yes. The author probably would be equally satisfied with any robust typed solution (flowtype, typescript).
Neither is even remotely as robust — let alone friendly — as Elm's type system.
- boubiyeah 9y agoIt's not so black and white :) Robustness, you're absolutely right, Elm cannot be beat. But it comes at a price: It's pretty limiting/underpowered. Typescript is very expressive these days and you can write some very neat libs that feel dynamic but are actually fully typed, if you bother (to be fair, most people don't bother). On the other hand, Elm usually doesn't provide many ways to do something, and you may even have to cheat and offload some work to dirty-old-JS-land via a port to unblock yourself or simply deliver a functionality on time. I'm still unsure whether the freedom is worth it or whether the robustness wins at the end of the day; it may depends on what kind of app you're writing and how strong the team is (e.g scala has the same "issue")
- scns 9y agoCheck out ReasonML, great Typesystem and robustness. Tooling is still a little rough though.