4 ms·
> And almost never use inheritance, especially if that inheritance chain goes beyond one ancestor. With Python's duck typing, I'm not even sure of a case where
by Sohcahtoa82 1y ago
> And almost never use inheritance, especially if that inheritance chain goes beyond one ancestor.
With Python's duck typing, I'm not even sure of a case where inheritance is even strictly necessary beyond custom exceptions.
- librasteve 1y agowith Raku’s powerful, yet simple, OO you get role composition for code organization and can reserve inheritance to reflect real structure in your data model