Table of Contents


Don’t leave “broken windows” (bad designs, wrong decisions, or poor code) unrepaired. Fix each one as soon as it is discovered. If there is insufficient time to fix it properly, then board it up.


Code smells

If you are, or you know someone, who is very attentive to spelling, and punctuation, and grammar. And you show them a page that's full of errors. Everything that ends in S has an apostrophe, whether it needs it or not, maybe even two apostrophes. The word incredible is spelled with three d's in the middle. And capitalization is almost random. And as they read it, you watch their face.

(Simon Allardice)

  • duplicated code
  • strange comments
  • long methods
  • long classes
  • long parameter list