3 ms·
So what other (GoF) patterns can be 'dissolved' with first class and anonymous functions? The following come to mind immediately: - observer (a.k.a. listener/
by calebmpeterson 15y ago
So what other (GoF) patterns can be 'dissolved' with first class and anonymous functions?
The following come to mind immediately:
- observer (a.k.a. listener/delegate)
- visitor
- command
What else?
- kens 15y agoSee Peter Norvig's Design Patterns in Dynamic Languages: http://norvig.com/design-patterns/ http://norvig.com/design-patterns/