why are people still using classic classes?

Jarek Zgoda jzgoda at gazeta.usun.pl
Thu Jan 13 14:49:52 EST 2005


Paul Rubin wrote:

>>>Is there a reason NOT to use them?  If a classic class works fine, what
>>>incentive is there to switch to new style classes?  
>>
>>Perhaps classic classes will eventually disappear?
> 
> It just means that the formerly "classic" syntax will define a
> new-style class.  Try to write code that works either way.

Ideally, I'd like to have them working like in Delphi, where it doesn't 
matter if you declare it as TSomeClass(TObject) or simply TSomeClass, it 
is assumed that class is inherited from TObject if no other class is 
specified.

-- 
Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/



More information about the Python-list mailing list