skull

Robert Tamayo

R
B
blog
skull

Code Hoarder

I'm working on a mini project that's forked from another project of mine. While copy-paste-modifying a class, I noticed that I was deleting a ton of commented-out blocks of unused code. I don't do that in my professional code, but I guess in my personal projects I'm definitely a code hoarder.

Code hoarders can't delete code. If you see their code, there are tons of lines that are commented out, but that they decided to keep just in case they "need" it later. In my experience, code hoarding happens accidentally. I will comment out a block of code while testing another variation of it, and then I'll forget to delete it after everything works as expected with the improved code.

Comments:
Leave a Comment
Submit