Code Smell 06 - Too Clever Programmer
Code difficult to read, tricky with names without semantic. Sometimes using language's accidental complexity.
Refactor the code
Use better names
- Optimized loops
- Optimized code for low level operations.
Automatic detection is possible in some languages. Watch some warnings related to complexity, bad names, post increment variables, etc.
Also Known as
Too clever developers write cryptic code to brag. Smart developers write clean code. Clear beats clever.
Programming can be fun, so can cryptography; however they should not be combined.
Kreitzberg & Shneiderman
This article is part of the CodeSmell Series.