18
Elm's guarantees
A short reminder about the guarantees of the Elm language:
Thanks to the absence of null/undefined, errors treated as data, and a sound type systems, Elm guarantees that our compiled JavaScript code never throws errors at runtime.
All data in Elm is immutable. So no surprises when you need to find a bug and there is a wrong value somewhere. You can easily find who created that value.
All functions must be pure, otherwise, they don't compile. Pure functions have the usual benefits of being easy to read, easy to test, etc.
Elm is based on a provable type system so types are always correct and type annotations are always optional.
Elm enforces Semantic Versioning. This means that your code is guaranteed to compile also after you upgrade your dependencies.
All these guarantees apply not only to your code but also to all your dependencies!
To learn more: elm-lang.org
❤️
Header photograph by Clem Onojeghuo
18