-
When you spot Maybe List
in your code, it may be time to think about alternatives.
-
Elm types like String
can represent an infinite number of possible values. Let’s use types to reduce that number and better declare intent.
-
If you’ve had trouble wrapping your head around what a Cmd Msg
“is” in Elm, then you might find this explanation helpful.
-
Elm’s type system gives us some great tools for modeling gamedev.
-
In gamedev, decoupling the in-game world from the real world makes math easier.
-
When you’re stuck, the best solution is often to represent the problem in a different medium.
-
Write more confident code to avoid viral Maybe
taking over your project.
-
Leverage the core mechanics of Maybe
to clean up your nested cases.
-
Elm JSON decoding in 5 common scenarios
-
Map functions are hard to “get” in the abstract. This looks at two mental models that helped me understand them better.