Remove multiple inheritance in Python 3000
George Sakkis
george.sakkis at gmail.com
Tue Apr 22 10:36:04 EDT 2008
On Apr 22, 10:22 am, Carl Banks <pavlovevide... at gmail.com> wrote:
> Java (for example) allows a class to share behavior with only one
> other class, and that *severely* limits the opportunities to minimize
> redundancy.
Not really; composition is usually a better way to share functionality
and reduce redundancy than inheritance.
George
More information about the Python-list
mailing list