Greetings to you truth-seekers, refactorites, and code monkeys all across the digital plane. I am here, El MoffDo, your highly-trained web publication specialist, on the Wednesday edition of I Built His Cage, ready for another post of Programming Excellence.
Stu Smith of Hackification.com listed his 10 worst code smells:
1. Long Functions
2. Commented-Out Code
3. Copy-Pasted Code
4. Handled-but-Really-Unhandled Exceptions
5. Large Numbers of Parameters
6. Non-Obvious Names
7. Deep Nesting
8. Beacon Comments
9. Narcolepsy …by which I mean inappropriate sleep() ing.
10. Helper Classes
Read more »