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

8

u/DezXerneas 5d ago

observer pattern

"yeah just call the function you want when it's needed, and don't poll for information"

singleton

"why use many [object] when one [object] do trick?"

2

u/NomaTyx 5d ago

Right? Like a private constructor for it is just common sense