r/ProgrammerHumor • • Sep 23 '22

Refactoring "Just working solution ".

Post image
54.8k Upvotes

355 comments sorted by

View all comments

269

u/TheC0deApe Sep 23 '22

i always try to code for the next guy. i also presume that i may be the next guy.

66

u/Seppo_Manse Sep 23 '22

you are always the next guy

43

u/insanelygreat Sep 23 '22

Same, even on personal projects I don't intend on publishing. Because the next time I touch it it might as well have been written by someone else.

23

u/Antrikshy Sep 23 '22

Even more so on personal projects. At work, my teammates and I touch our code way more frequently than anyone touches my personal projects once written. So it becomes a lot harder to read if I don't write an ample amount of comments and readme docs.

6

u/Sizzlik Sep 23 '22

Every time i open old code of mine i get the same reaction: "What the..how...hmm..ah, right..ok"

1

u/LaNague Sep 23 '22

I always tell people to code and comment so that the other or yourself in 2 years can work with it.

They never listen "but it works like that, its easier for me to just do it this way - points at spaghetti code"

1

u/Cfrolich Sep 24 '22

You are nicer than most people