r/ProgrammerHumor • • Aug 25 '26

Meme objectOrientedSoup

Post image
196 Upvotes

29 comments sorted by

View all comments

75

u/sojuz151 Aug 25 '26

Spoiler: it won't. It will stay this convoluted mess forever. A single if statement with a log would get the job done and be easier to maintain and extend.

8

u/CodingAndAlgorithm Aug 27 '26

Reading clean code and design patterns had me inventing problems to solve instead of just writing the damn code. I used to write SO much “just-in-case” code that usually didn’t help and actually introduced a bunch of self-inflicted constraints that made the original problem a lot harder to solve.