Why Elm by Matthew Griffith http://www.oreilly.com/web-platform/free/files/why-elm.pdf
—
| Javascript | Elm |
|---|---|
| npm/yarn | built in |
| Webpack | built in |
| React | built in |
| Redux | built in |
| Typescript/Flow | built in |
| Immutable.JS | built in |
above from Kevin Yank’s talk: Elm in Production: Surprises & Pain Points
—
| Feature | JS | Elm |
|---|---|---|
| Types | Typescript/Flow | included |
| Immutability | Immutable.js/Mori | included |
| State management | Redux | included |
| Reactive Programming | rxJS | included |
| Build Process | Webpack | included |
| Package Manager | npm/yarn | included |
| Partial Application | Ramda.js | included |
| No Side-effects | not guaranteed | guaranteed |
| No runtime exceptions | no | ✓ |
| code format standards | no | ✓ |
| Compiler led development | no | ✓ |
| Fearless refactoring | no | ✓ |
| Peaceful sleeping | no | ✓ |
above originally from Coury Ditch