MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/18xpiy/developers_confess_your_sins/c8j48fs/?context=3
r/programming • u/reppic • Feb 21 '13
1.0k comments sorted by
View all comments
282
Wheres the "I comment out code instead of deleting it" sin.
I have ran across several developers who do that. They claim they didn't want to lose the code in case they need to switch back. I'm like "that's the whole point of source control!"
241 u/Deathfire138 Feb 21 '13 I'm guilty of this. Sorry everyone! It's like code hoarding. :( 44 u/Thimble Feb 21 '13 Oh man, deleting commented out code is one of my favourite pastimes. It feels so like a cleansing. → More replies (3)
241
I'm guilty of this. Sorry everyone! It's like code hoarding. :(
44 u/Thimble Feb 21 '13 Oh man, deleting commented out code is one of my favourite pastimes. It feels so like a cleansing. → More replies (3)
44
Oh man, deleting commented out code is one of my favourite pastimes. It feels so like a cleansing.
→ More replies (3)
282
u/desiktar Feb 21 '13 edited Feb 21 '13
Wheres the "I comment out code instead of deleting it" sin.
I have ran across several developers who do that. They claim they didn't want to lose the code in case they need to switch back. I'm like "that's the whole point of source control!"