r/ProgrammerHumor • • 7d ago

Meme dynamicProgramming

Post image
6.3k Upvotes

154 comments sorted by

View all comments

Show parent comment

8

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

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