Re:“I would like to maintain the floppy driver”
by dharmab on Friday August 02, 2019 @07:26PM
(#20597522)
I lead a crusade against commented out code and refuse to accept any PRs at work with commented out code. It makes most code search tools useless and adds tons of visual clutter (especially for our colleagues with ADD/ADHD)
[ Parent
| on HN ]
Re:“I would like to maintain the floppy driver”
by IgorPartola on Friday August 02, 2019 @11:59PM
(#20598589)
Leaving commenter it code is like leaving full trash bags on your kitchen floor. Why are they there? Could the be necessary at some point? Is there a specific time we need to get rid of them?
I agree with you, commented out code is not ok, unless it is an example or pseudo code. The rest is trash and has no place in any reasonable codebase. If you want to see what the code was like six months ago, use git.