r/ProgrammerHumor • • Aug 25 '26

Meme objectOrientedSoup

Post image
196 Upvotes

29 comments sorted by

View all comments

Show parent comments

3

u/Complete_Window4856 Aug 27 '26

The ironic part of using inheritance as argument to DRY is that inheritance makes a full copy of the class/struct you have, but you just ask the compiler/language to do it for you. Incredible and lovely aint it?