News for hackers. Stuff that matters.
Re:Fear, trust and JavaScript: When types and functional pro... by cannabis_sam on Sunday October 28, 2018 @06:43AM (#18320051)
I think it’s the worst of both worlds, you still have to deal with types (often manually even), but you can’t trust your types since they’re not pervasive.

The killer feature is global type inference. I pretty much prototype in Elm as fast (or faster) than any dynamic language, and when the code compiles it’s free of runtime error except at the boundaries (i.e JS interop). This allows me to focus on fixing error arising from my misundetstanding of the problem (and my general incompentence).

There are no comments on this comment yet.