Hacker News new | ask | show | jobs
by lifeisstillgood 1406 days 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.

1 comments

Over 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 (!)