#strongtyping
Posts that relate to using strong typing in programming.
2024
Barricade + choke point 🛡️
Two design patterns that I’ve found helpful when designing systems to deal with untrusted data.
Algebraic data types 🧩
·14 mins
Compose types and use them to represent complex data in a clean and type safe way.
Kill two bugs with one type 🪲
An example of how just a little typing can help avoid several real-world problems.
Functional foundations ⚙️
·23 mins
A selection of functional programming concepts that I feel are helpful to all developers.
2014
Convert guard clauses to value objects
How replacing validation functions with types can make your code safer and more expressive.