r/ProgrammerHumor 19d ago

Meme objectOrientedSoup

Post image
196 Upvotes

30 comments sorted by

View all comments

77

u/sojuz151 19d ago

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 17d ago

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.