A total bullshit (was : A Must Read!!!)
Diez B. Roggisch
deets at nospam.web.de
Wed Oct 3 14:05:30 CEST 2007
Bruno Desthuilliers schrieb:
> richard.james861 at gmail.com a écrit :
>> I have found an excellent resource on Object Oriented Programming.
> (url snipped to protect the innocents)
> Let's see:
> "An object has methods, properties and events."
> "oriented programming probably existed before the concept of a class
> came into being but today the concept of a class is essential to object
> Hem hem...
> This is total bullshit.
Polymorphism happens and we can’t avoid it despite its silly sounding
name. We might have a baseclass which represents a basic document and
we might subclass this generate ‘invoices’. A different subclass might
generate ‘cheques’. They may both have a method called print but the
implementation of ‘print’ could be entirely different for the two base
classes even though the same name ‘print’ is used in each case. That’s
Hilarious! I wasn't aware of the technical term "silly sounding name" ...
More information about the Python-list