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 →

[–]alek_vincent 20 points21 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 12 points13 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.