-
Learn how to filter events in Elm and create an onEnter
event handler!
-
Fake out your HTTP requests for a tighter iteration cycle.
-
Solving a Maybe
problem is often easier than solving a Decode
one.
-
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.
-
When you’re stuck, the best solution is often to represent the problem in a different medium.
-
In gamedev, decoupling the in-game world from the real world makes math easier.
-
Elm’s type system gives us some great tools for modeling gamedev.
-
Write more confident code to avoid viral Maybe
taking over your project.