2 ms·
Quoted for emphasis: > Every new line of code you willingly bring into the world is code that has to be debugged, code that has to be read and understood, code
by kerkeslager 9y ago
Quoted for emphasis:
> Every new line of code you willingly bring into the world is code that has to be debugged, code that has to be read and understood, code that has to be supported. Every time you write new code, you should do so reluctantly, under duress, because you completely exhausted all your other options.
It's worth noting: code you import counts toward your total line count. Don't think that because someone else who doesn't work with you wrote the code, it doesn't count. In some ways, that's worse. I've spent all day today debugging a no-longer-maintained library which is used in a legacy codebase I'm maintaining.