In gamedev, decoupling the in-game world from the real world makes math easier.
Write more confident code to avoid viral Maybe
taking over your project.
Leverage the core mechanics of Maybe
to clean up your nested cases.
Understanding why we use factories helps us write faster, more readable tests.
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.
Clean up Maybe by modeling multiple shapes of data with union types.
Refactor common Boolean smells using enums (union types).
A journey into requiring files via $PATH and $LOAD_PATH.
Avoid some tricky edge cases when decorating ActiveRecord models.