News for hackers. Stuff that matters.
Re:Do We Worship Complexity? by Sharlin on Wednesday October 17, 2018 @06:37AM (#18237774)
The whole point was that the GoF Command Pattern is a verbose OO emulation of simply passing around functions. In a language with proper first-class closures the whole pattern mostly dissolves – it’s obvious that if you want to customize behavior, just pass a function. The same holds for a surprising number of GoF patterns.

There are no comments on this comment yet.