[V4RB] The correct OOP way?

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Dec 5 09:37:20 CST 2003


on 12/5/03 9:04 AM, Carsten Friehe at rblists at carsten-friehe.de wrote:

>> 2) you get polymorphism, i.e. Objects of different child classes
>>     can be considered as set of parent instances.
> 
> Hmm. I didn't see an advantage here.

Advantage is that you can make

    Array Of parent

But this array in fact can contains DIFFERENT child classes

Very often needed.

But again, all depend on your task.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list