The Strategy Pattern in Modern Code: From Class Hierarchies to Closures
Design patterns get a bad reputation when they’re taught as rigid recipes: memorize the UML diagram, create an abstract class,
Continue readingThe Strategy Pattern in Modern Code: From Class Hierarchies to Closures