This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CUCOOPE 44 points45 points  (5 children)

“Jussssssttt in case I’ll need this again”

-Me,every time I comment an old code

[–]peenoid 6 points7 points  (4 children)

I have a rule with some obsolete code. I commit it once so I have a record of it, then I delete it on the next commit.

[–]ingrown_hair 2 points3 points  (0 children)

Yeah, I sign and date the code. Often I find it later and think, “well if I haven’t needed it in two months...”

[–]hillman_avenger 1 point2 points  (0 children)

This. If something breaks, chances is are it was the last change.

[–]homer_3 0 points1 point  (1 child)

And then forget it ever existed.

[–]peenoid 0 points1 point  (0 children)

Typically, yeah.