3 ms·
Preferring composition over inheritance is good for languages that don't do inheritance well. Python does it well. But more importantly, Django is an object ori
by dec0dedab0de 3y ago
Preferring composition over inheritance is good for languages that don't do inheritance well. Python does it well. But more importantly, Django is an object oriented framework that makes heavy use of multiple inheritance, and the code is gorgeous. It seems silly to choose a big framework like Django and not take advantage of it's features.