Click here to Skip to main content
15,070,332 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
MemberSOHAM_GANDHI4-Feb-14 22:39 
Generalno comment please Pin
Philip Stuyck29-Jun-13 2:26
MemberPhilip Stuyck29-Jun-13 2:26 
GeneralRe: no comment please Pin
w-peuker1-Jul-13 0:16
Memberw-peuker1-Jul-13 0:16 
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 PinPopular
Giuseppe Tollini26-Jun-13 11:31
MemberGiuseppe Tollini26-Jun-13 11:31 
I use this strategy sometimes.
Commented writing date of comment.
waited to 1-2 week to see if all work as expected.
After that time passed I'm pretty sure the commented code is not anymore useful for reference nor for reverting so I delete.

Anyway code is versioned so deleting is no big deal but having it commented for some time it's kinda practical
General+1 Pin
imagiro26-Jun-13 20:40
Memberimagiro26-Jun-13 20:40 
GeneralRe: Comment, wait, forget Pin
Doofenshmirtz27-Jun-13 4:04
MemberDoofenshmirtz27-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 Pin
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
Memberthe retired25-Jun-13 14:15 
GeneralFew people in programming give me more pleasure than... Pin
tec-goblin25-Jun-13 8:35
Membertec-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
lw@zi 24-Jun-13 23:04
professional lw@zi 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
MemberDeus 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
MemberDeus 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.