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