[V4RB] The correct OOP way?

Carsten Friehe rblists at carsten-friehe.de
Fri Dec 5 08:04:01 CST 2003


Hi!

> 1) you remove code duplication.

Ok. So there is no real advantage here. The methods of my class only
setting the current record or getting a value from the cursor. So there
is no duplicate code.
 
> 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.

Thank you!
Carsten


More information about the Valentina mailing list