r/ProgrammerHumor • • 2d ago

Meme dynamicProgramming

Post image
5.4k Upvotes

146 comments sorted by

View all comments

Show parent comment

7

u/DezXerneas 1d 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 1d ago

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