Good programming advice can be taken too far: DRY - “I don’t repeat...


Good programming advice can be taken too far:

DRY - “I don’t repeat anything, ever”

Single responsibility - “Every function I write is one line”

TDD - “I always write the test first and have 100% coverage”

Think of these ideas as a spectrum. The mistakes are at the extremes.

View original on X