Hacker News new | ask | show | jobs
by yakshaving_jgt 1159 days ago
I think Elm is second to none as a tool for learning FP.

It compiles quickly, the guidance offered in error messages are best in class, it's small, and the mental model is consistent.

In fact I think it's far easier to learn Elm (and also perhaps web UI development wouldn't be such a shitshow if programmers earlier in their career used Elm to build their mental model) than it is to learn:

- React

- Redux

- Immutable.js

- Lodash/Ramda

- ES${CURRENT_YEAR}

- Webpack/Parcel/Grunt/Groan/Whatever

- etc…

I've seen so many early programmers go through some React course thinking they've learned FP, and yet struggle to solve basic problems by applying functions to values.