Variable inheritance

Alex Martelli aleaxit at yahoo.com
Tue May 22 12:12:14 EDT 2001


"Courageous" <jkraska1 at san.rr.com> wrote in message
news:t72lgt4h9j3snfdhs08h76rl2o0lq30i45 at 4ax.com...
>
> >Can anyone provide an example where MI is used for right purpose,
> >not just to quickly hack something?
>
> Dynamic aggregation and the reuse of interface implementations
> (ala "mixin based programming," first popularized in the Lisp
> community, but then propagated about).
>
> While this is an irrelevant ad hominem I'm about to state, questions
> like your are generally posed by programmers from _static_ languages.
> Python is a _dynamic_ language. This sometimes requires rethink.

Eiffel programmers (happily and multiply inheriting around
in one of the static-est languages available) will no doubt
be interested in hearing about this thesis, as will those
who program in Smalltalk (dynamic to a fault, but SI...:-).


Alex






More information about the Python-list mailing list