On 02/07/2020 01:40 PM, Greg Ewing wrote:
On 8/02/20 5:59 am, Soni L. wrote:
Traits are an alternative to Multiple Inheritance. They solve the problem of name conflicts by making them an ambiguity error and requiring you to disambiguate (at call site).
This sounds like something that would work better in a statically typed language, where the compiler can figure it all out. Doing it in Python would require run-time wrappers and incur overhead.
Or a metaclass.