Skip to main content

#abstraction

This tag covers topics related to simplifying complex concepts by creating understandable layers, patterns, or models. It includes discussions on design patterns, functional programming, and strategies for making code easier to maintain and communicate.

2024


Leave it out 🚫

The more you add, the harder it becomes to understand.

Algebraic data types 🧩

·14 mins
Compose types and use them to represent complex data in a clean and type safe way.

There is no loop 🥄

Learn to move from imperative while and for loops to declarative collection functions like map and filter.

Testable code is reusable code ♻️

Testability and reusability goes hand in hand. When you test a function, you run the code in another context than it was built for.

Functional foundations ⚙️

·23 mins
A selection of functional programming concepts that I feel are helpful to all developers.

2014


2012


What, how, and why?

Let the method signature describe “what”, the body “how”, and the caller “why”.