- No runtime errors - that's huge!
- Easy refactoring - basically because compiler will catch all errors (except the logical ones)
- Need for less tests - a lot of stuff is covered with types and a features of ML langauge
- Everything is explicit
- No surprise where this comes from
- but alos requires passing stuff around and adds lines of code
- Immutable
- elm-format - automatic formatting of the code
- "compiler driven development"
- One leader to follow
- https://guide.elm-lang.org/
- http://elmprogramming.com
- https://www.elm-tutorial.org
- https://orasund.gitbook.io/elm-cookbook/
- How to do Drag&Drop
- How to Localize app
- Actively try to model your data structures to avoid
Maybe
- Separate code that checks for presence from code that calculates values
- Business functions may return
Maybe
, but may not acceptMaybe
as any of it's arguments