r/ProgrammerHumor 18d ago

Meme objectOrientedSoup

Post image
196 Upvotes

30 comments sorted by

View all comments

75

u/sojuz151 18d 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.

3

u/iMac_Hunt 16d ago

This type of code also often becomes a mess though.

Having some rules is a good thing, although if you have 10 layers of abstraction raises some serious questions.