polymorphism
Aahz
aahz at pythoncraft.com
Tue May 13 10:33:57 EDT 2003
In article <%a%va.2384$hX1.844 at nwrdny01.gnilink.net>,
Carl Banks <imbosol at aerojockey.com> wrote:
>Alex wrote:
>>
>> The short answer is every class method is virtual.
>>
>> The longer answer is that python is not statically typed. This makes
>> it *much* more flexible than C++. If desired, polymorphism can be
>> achieved withough any inheritance at all. After a couple days, C++
>> will feel like a straight jacket.
>
>Dude, you rule. Mind if I use this simile?
If you do, please to spell it "straitjacket". ;-)
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"In many ways, it's a dull language, borrowing solid old concepts from
many other languages & styles: boring syntax, unsurprising semantics,
few automatic coercions, etc etc. But that's one of the things I like
about it." --Tim Peters on Python, 16 Sep 93
More information about the Python-list
mailing list