3 ms·
|I found over the years to avoid long debugging sessions, I can instead write better tests, do smaller commits, and write less clever code| The less clever cod
by UnpossibleJim 5y ago
|I found over the years to avoid long debugging sessions, I can instead write better tests, do smaller commits, and write less clever code|
The less clever code part is the key, for me. If I can write my code out, in a relatively simplistic way and go back to refactor and optimize it, I save myself hours of debugging headaches.
Doing it and saying it are different things, but I fully intend to do it every time I start =)