OO in Python (was Re: Migrating to perl?)
Cameron Laird
claird at starbase.neosoft.com
Fri Jan 5 09:37:43 EST 2001
In article <934ghv02hg0 at news2.newsguy.com>,
Alex Martelli <aleaxit at yahoo.com> wrote:
.
[lucid and wise comments
on several important topics]
.
.
>on
>> the question of how do I do OO but I really know very little about it...
>> enough to know that I can benefit from it and basic ideas. I understand
>the
>> idea of a class and building objects from it but anything beyond that is
>> still really new to me. Any suggestions?
>
>I don't think there is a really good "OO theory" text that does
>not make some reasonably strong assumptions on the object model
>that will be in use -- which, in turn, means the language that
>will be in use. If you learn OO based on an object model that
Does *Object-Oriented Software Construction*
not make your "cut-off", Alex?
>(e.g.) assumes compile-time static typing, or single inheritance,
>etc, that will not make your transition to Python OO all that
>smooth or easy (quite feasible, of course -- the more languages
>you know and understand, the easier it is to learn any N+1-th
>language, and Python IS quite easy in any event).
Hmm; perhaps your examples answer my question.
I'll counter, though, that even single-inheri-
ted Python is quite a wonderful thing.
.
[more prudent and
productive advice]
.
.
--
Cameron Laird <claird at NeoSoft.com>
Business: http://www.Phaseit.net
Personal: http://starbase.neosoft.com/~claird/home.html
More information about the Python-list
mailing list