In code reviews, I’m far more impressed with surprising simplicity than...


In code reviews, I’m far more impressed with surprising simplicity than perplexing complexity.

Surprising simplicity is hard to achieve.
Perplexing complexity easy to achieve. (and rarely necessary)
Perplexing complexity is rarely worth merging. Why? because it's a sign a more elegant approach exists.

If the team struggles to understand it, we should find a simpler solution.

View original on X