[DUG] Abstract method

Rohit Gupta r.gupta at xtra.co.nz
Wed Sep 14 13:18:28 NZST 2005


The problem isnt me, its the other plebs.  I am always deliberately 
refactoring code to not raise false warnings so that the real ones jump 
out.  :-)

Kyley Harris wrote:

> If you subclass and do not override an abstract method then a 
> warning/hint is raised regarding the abstract method.
> Read the hints and warnings ;)
>
> Rohit Gupta wrote:
>
>> When creating a base class, if I have a method that has to be defined 
>> in the descendant class I normally make it abstract.  The only 
>> problem is that this only shows up at run-time if that method is 
>> executed.
>>
>> Isnt there some way to make the compiler barf ?Regards
>>
>> Rohit
>>
>> ====================================================
>> ==================
>> CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
>> PH    (649) 489-2280 FX    (649) 489-2290
>> email rohit at cfl.co.nz  or  r.gupta at xtra.co.nz
>> ====================================================
>> ==================
>>
>>
>> _______________________________________________
>> Delphi mailing list
>> Delphi at ns3.123.co.nz
>> http://ns3.123.co.nz/mailman/listinfo/delphi
>>
>>  
>>
>



More information about the Delphi mailing list