MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1y3320n/dynamicprogramming/19t2ox6ksmk4l/
r/ProgrammerHumor • u/nerdycatgamer • 2d ago
146 comments sorted by
View all comments
Show parent comment
7
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
2
Right? Like a private constructor for it is just common sense
View all comments
Show parent comment
7
u/DezXerneas 1d ago
"yeah just call the function you want when it's needed, and don't poll for information"
"why use many [object] when one [object] do trick?"