Python & Go

kj at
Thu Nov 12 15:38:19 CET 2009

In <3e2ec71b-1bd6-4fc7-b2fd-12ddb6fbdd44 at> Carl Banks <pavlovevidence at> writes:

>...but the lack of
>inheritance is a doozie.

That's what I like most about it.  Inheritance introduces at least
as many headaches as it solves.  For one, it leads to spaghetti
code.  When reading such code, to follow any method call one must
check in at least two places: the base class and the subclass.
The deeper the inheritance chain, the more places one must check.
For every method call.  Yeecch.  Good riddance.


More information about the Python-list mailing list