7
votes
1answer
4k views

The Strategy design pattern for Python in a more Pythonic way

I've recently picked up the Head First Design Patterns book in an effort to become a more efficient and better Python programmer. Unfortunately, the code examples in this book are in Java. I'm not ...