Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: