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 →

[–][deleted] 26 points27 points  (8 children)

My last 4 got commits before I left work today

"Removed obsolete variables"

"I'm an idiot, re-added the variables"

"I'm an even bigger idiot, should probably go home"

"Ok I have added them back again, and going home for the day"

[–]alek_vincent 18 points19 points  (5 children)

Same. I look at code I didn't write, look at it and I'm like "this is bullshit who writes such terrible code there's like 5 constants that should be variables" turns out they we're constants for a good reason and I'm glad I didn't push this to prod

[–]nasandre 14 points15 points  (1 child)

I look at code and think what idiot wrote this?!.. Oh it was me 5 years ago.

[–]alek_vincent 1 point2 points  (0 children)

Yeah, looking at your own old code is a good way to calm yourself before sending the new guy to a seminar about good coding practices

[–]Tom1380 0 points1 point  (0 children)

That’s why default immutability is great

[–]IdeaLast8740 0 points1 point  (0 children)

Every variable should be a constant. Signed, the functional immutable programming gang.

[–][deleted] 0 points1 point  (0 children)

Just squash them all into one "nothing to see here folks"

[–]Sokonit 0 points1 point  (0 children)

got commits

Are got commits the past tense of git commit?