Jackson's Rules of Optimization
- Rule 1: Don't do it.
- Rule 2 (for experts only): Don't do it yet.
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.