Daily Archives for 2012/05/14

In Python, does “favor composition over inheritance” – really apply at all?

Googling best practices for classes in Python for a Django project I kept coming across the phrase “favor composition over inheritance” and the Strategy Design Pattern. First let me quote wikipedia on composition over inheritance: Composition over inheritance in object-oriented programming is a technique … Continue reading

14. May 2012 by eschipul
Categories: Programming | 1 comment