Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mabbo
· 5y ago · 0 comments
Far worse, they'll comment out no-longer-needed code.
We have git! You can get it back anytime you want! Just delete it!
Comments
[–]
lessthanseventy
5y ago
If it is deleted instead of commented out I would have to know it used to be there in the first place to track it down in the git history.
[–]
simmerup
5y ago
It quickly becomes so out of date that the commented out code provides no use to the reader anyway.
[–]
darkwizard42
5y ago
commented out code helps any future developer either heed a past warning or learn from a past example. I think there are uses to commenting vs. deleting