Click here to Skip to main content
15,868,016 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



 
GeneralInactive code clutters up active code, so I remove it instead of simply commenting it out Pin
SOHAM_GANDHI4-Feb-14 22:39
SOHAM_GANDHI4-Feb-14 22:39 
Generalno comment please Pin
Philip Stuyck29-Jun-13 2:26
Philip Stuyck29-Jun-13 2:26 
GeneralRe: no comment please Pin
w-peuker1-Jul-13 0:16
w-peuker1-Jul-13 0:16 
Philip Stuyck wrote:
Anyway since there is version control on professional code , there is really no point in keeping code that has become obsolete.

Full approval on this point!

Philip Stuyck wrote:
Which brings me to the point of comment itself. If you feel the urge that your code requires comment...


This certainly applies to most inline comments. But what about commenting classes and non-trivial methods?
GeneralIf you commit commented out code, please tell why it's commented out... Pin
Andreas Gieriet27-Jun-13 10:18
professionalAndreas Gieriet27-Jun-13 10:18 
GeneralComment, wait, delete Pin
Giuseppe Tollini26-Jun-13 11:31
Giuseppe Tollini26-Jun-13 11:31 
General+1 Pin
imagiro26-Jun-13 20:40
imagiro26-Jun-13 20:40 
GeneralRe: Comment, wait, forget Pin
Doofenshmirtz27-Jun-13 4:04
Doofenshmirtz27-Jun-13 4:04 
GeneralCoincidence Pin
Colin Mullikin26-Jun-13 5:52
professionalColin Mullikin26-Jun-13 5:52 
GeneralDead Apps Pin
Mycroft Holmes25-Jun-13 19:46
professionalMycroft Holmes25-Jun-13 19:46 
GeneralI comment out code and add a comment Pin
Gabbie Seal25-Jun-13 18:32
professionalGabbie Seal25-Jun-13 18:32 
GeneralRe: I comment out code and add a comment Pin
AlexCode26-Jun-13 21:03
professionalAlexCode26-Jun-13 21:03 
GeneralDeprecated, then removed, and always under source control PinPopular
Marc Clifton25-Jun-13 13:21
mvaMarc Clifton25-Jun-13 13:21 
GeneralRe: Deprecated, then removed, and always under source control Pin
the retired25-Jun-13 14:15
the retired25-Jun-13 14:15 
GeneralFew people in programming give me more pleasure than... Pin
tec-goblin25-Jun-13 8:35
tec-goblin25-Jun-13 8:35 
GeneralIF I comment Pin
Joezer BH25-Jun-13 4:58
professionalJoezer BH25-Jun-13 4:58 
GeneralRe: IF I comment Pin
AlexCode26-Jun-13 21:09
professionalAlexCode26-Jun-13 21:09 
GeneralRe: IF I comment Pin
Joezer BH26-Jun-13 22:28
professionalJoezer BH26-Jun-13 22:28 
GeneralTwo words Pin
dan!sh 24-Jun-13 23:04
professional dan!sh 24-Jun-13 23:04 
GeneralRe: Two words Pin
Dennis E White25-Jun-13 20:30
professionalDennis E White25-Jun-13 20:30 
GeneralGot Git? Pin
Deus ex Machina24-Jun-13 13:07
Deus ex Machina24-Jun-13 13:07 
GeneralRe: Got Git? Pin
Marc Clifton25-Jun-13 13:25
mvaMarc Clifton25-Jun-13 13:25 
GeneralRe: Got Git? Pin
Deus ex Machina26-Jun-13 6:22
Deus ex Machina26-Jun-13 6:22 
GeneralRe: Got Git? Pin
Marc Clifton26-Jun-13 7:21
mvaMarc Clifton26-Jun-13 7:21 
GeneralRe: Got Git? Pin
AlexCode26-Jun-13 22:14
professionalAlexCode26-Jun-13 22:14 
GeneralBoth! Pin
DaveAuld24-Jun-13 4:50
professionalDaveAuld24-Jun-13 4:50 

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.