RE: OOP Features (was euFAQ request for comment)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Correct me if I'm wrong, but from how I understand it, polymophism 
basically means that it's possible to call the original member or 
method, even if the subclass overrides the particular member or method.

The polymorphism occurs within the member or method routine, and so is 
transparent to the user.

This allows you to create a subclass that redefines a member or method, 
but can still utilize the original.


Chris

petelomax at blueyonder.co.uk wrote:
> On Thu, 11 Apr 2002 08:26:37 -0700, Mike Nelson
> <MichaelANelson at WORLDNET.ATT.NET> wrote:
> 
> <snip>
> >The OOP system resolves this at run time and the programmer who writes 
> >the
> >method call needn't know which class X belongs to--the correct method 
> >will
> >be called.
> 
>  A neat shortcut perhaps;
> 
> but PERHAPS reverberates round my brain.
> 
> The programmer should know EXACTLY which routine is being called,
> 
> Just my 0.10c & why I really don't want oop nonsense in std Eu.
> 
> Actually, that will sound way too harsh; I've learnt ALOT from oop,
> but personally I don't need it forced down my throat.
> 
> Pete
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu