4 ms·
This is "explicit is better tha implicit". I would think that Inwoukd hate the above code but actually I appreciate it and prefer it. It's great.
by lifeisstillgood 4y ago
This is "explicit is better tha implicit".
I would think that Inwoukd hate the above code but actually I appreciate it and prefer it. It's great.
- lifeisstillgood 4y agoOver thinking it, I think this is probably the "right" solution to multiple inheritance where there are conflicting attributes. I suspect it is a hard pre-commit check but you would want to only inherit from classes with no conflict- then if there are it is down to this approach (!)