3 ms·
This one is amazing: https://github.com/dwmkerr/hacker-laws#kernighans-law https://github.com/dwmkerr/hacker-laws#kernighans-law > Debugging is twice as hard a
by seph-reed 6y ago
This one is amazing: https://github.com/dwmkerr/hacker-laws#kernighans-law https://github.com/dwmkerr/hacker-laws#kernighans-law
> 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.
The word "clever" has always been a low key insult when coming from me about code, and this describes the reason perfectly.
- DesiLurker 6y agomy acid-test for the code is 'what if we have to add a conceptually incremental feature to this?', apply this and see many of these clever concoctions fall apart.