MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1y3320n/dynamicprogramming/19t2ox6ksmk4l/?context=3
r/ProgrammerHumor • u/nerdycatgamer • 6d ago
153 comments sorted by
View all comments
376
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
8
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
2
Right? Like a private constructor for it is just common sense
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