Thoughts

On writing less code

Every line is a liability. It has to be read, tested, maintained, explained to the next person, and eventually deleted.

The real skill is not writing code quickly — it is recognizing when not to write it at all.

A small heuristic

Before adding a function, ask whether the calling code would be clearer inlined. Most of the time, it would.

Related posts