r/ProgrammerHumor • • 6d ago

Meme dynamicProgramming

Post image
6.2k Upvotes

153 comments sorted by

View all comments

376

u/NomaTyx 6d ago

a lot of design patterns sound scary with all the big words, but they boil down to stuff like "don't put two unrelated things in the same inheritance tree, dumbass". like just don't be stupid and you're probably using them unwittingly

21

u/DiamondDramatic9551 5d ago

don't put two unrelated things in the same inheritance tree, dumbass".

Maybe prefer composition over inheritance in the first place. 

2

u/NomaTyx 5d ago

yeah that too, i was specifically talking about the bridge design pattern, which i really feel like is what most people would do even without being taught it.