Why Elm is good for us.
1. JavaScript is hard to keep maintainable over time
- When you try to refactor things you rely on the fact that you can
ag
it effectively. - Runtime exceptions are hard to find
Elms solves this because:
- It pushes all runtime exceptions to compile time
- When Refactoring it's easy to know if it broke something, it's a compile time error
2. Elm is simpler than JavaScript + all the frameworks
- Elm is a small language, far smaller than JavaScript
- Elm has React and Redux built in. There's no question on which framework to use or any temptation to stray from the right path
- You have to be a lot less disciplined to keep your code working.
3. Elm has better tooling than JavaScript
4. Compile time is shorter
Compiling all the JavaScript code takes forever, Elm is a lot faster which would aid in developer productivity.
4. It's a lot less setup
- There's no standard way to set up a React project. It's hard to wire everything together
5. Added benefits
The time traveling debugger even works with side-effecting things. This makes QAing a lot nicer.