Click here to Skip to main content
15,901,666 members

Survey Results

Are you a Code Hoarder?

Survey period: 24 Jun 2013 to 1 Jul 2013

Do you have difficulty getting rid of unused or obsolete code? (Suggested by Andreas Gieriet)

OptionVotes% 
inactive code can be useful in the future, so I comment it out instead of removing46340.51
Inactive code clutters up active code, so I remove it instead of simply commenting it out68059.49



 
GeneralRe: Relevant answers missing Pin
Wolfgang_Baron25-Jun-13 13:31
professionalWolfgang_Baron25-Jun-13 13:31 
GeneralRe: Relevant answers missing Pin
Chris Maunder25-Jun-13 16:09
cofounderChris Maunder25-Jun-13 16:09 
GeneralRe: Relevant answers missing Pin
Andreas Gieriet27-Jun-13 9:19
professionalAndreas Gieriet27-Jun-13 9:19 
GeneralWhy to comment it? Pin
Prasad_Kulkarni24-Jun-13 3:41
Prasad_Kulkarni24-Jun-13 3:41 
GeneralMostly Toasty Pin
Nagy Vilmos24-Jun-13 2:30
professionalNagy Vilmos24-Jun-13 2:30 
GeneralRe: Mostly Toasty Pin
Espen Harlinn24-Jun-13 4:24
professionalEspen Harlinn24-Jun-13 4:24 
GeneralIn some instances Pin
S Houghtelin24-Jun-13 2:01
professionalS Houghtelin24-Jun-13 2:01 
GeneralSort of the first one Pin
W Balboos, GHB24-Jun-13 1:55
W Balboos, GHB24-Jun-13 1:55 
I comment the code out - just in case I need to undo the damage, as a reminder, and stuff like that. Eventually, when suitably aged, it is removed.

Just a habit of caution - like carrying a second car-key: even if you only need to use it once in five years to get into your car because you lost or locked you key inside to make it worth it. So it is with seeing what you've done that you've, for any number of reasons, decided to undo.

I need to point out that the above cautions aren't quite as effective with marriage or parenthood.





"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"As far as we know, our computer has never had an undetected error." - Weisert
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

GeneralI learned my lesson at a Large IT consultancy I worked at ... Pin
Keith Barrow24-Jun-13 0:13
professionalKeith Barrow24-Jun-13 0:13 
GeneralBoth ... Pin
Jonas Hammarberg23-Jun-13 23:15
professionalJonas Hammarberg23-Jun-13 23:15 
GeneralI've seen worse... Pin
AlexCode23-Jun-13 22:28
professionalAlexCode23-Jun-13 22:28 
GeneralRe: I've seen worse... Pin
Nelek23-Jun-13 23:42
protectorNelek23-Jun-13 23:42 
GeneralRe: I've seen worse... Pin
Ashley van Gerven24-Jun-13 15:34
Ashley van Gerven24-Jun-13 15:34 
GeneralRe: I've seen worse... Pin
AlexCode24-Jun-13 23:46
professionalAlexCode24-Jun-13 23:46 
GeneralRe: I've seen worse... Pin
dan!sh 24-Jun-13 23:07
professional dan!sh 24-Jun-13 23:07 
GeneralRe: I've seen worse... Pin
AlexCode25-Jun-13 0:07
professionalAlexCode25-Jun-13 0:07 
GeneralDoes it what is Source Control for... Pin
n.podbielski23-Jun-13 21:55
n.podbielski23-Jun-13 21:55 
GeneralBoth... Pin
Mehdi Gholam23-Jun-13 21:10
Mehdi Gholam23-Jun-13 21:10 
GeneralNo no no no no no no no no... Pin
Sander Rossel23-Jun-13 20:12
professionalSander Rossel23-Jun-13 20:12 
GeneralThat's what version control is for PinPopular
CDP180223-Jun-13 19:04
CDP180223-Jun-13 19:04 
GeneralRe: That's what version control is for Pin
AlexCode23-Jun-13 22:59
professionalAlexCode23-Jun-13 22:59 
GeneralRe: That's what version control is for Pin
ed welch24-Jun-13 10:12
ed welch24-Jun-13 10:12 
GeneralRe: That's what version control is for Pin
CDP180224-Jun-13 10:48
CDP180224-Jun-13 10:48 
GeneralMake a dated backup first Pin
DaveX8623-Jun-13 18:50
DaveX8623-Jun-13 18:50 
GeneralHow many times we follow commented code ? Pin
koolprasad200323-Jun-13 18:20
professionalkoolprasad200323-Jun-13 18:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.