[LC++]Generic programming vs OO inheritance

Roberto Diaz rdiazmartin at vivaldi.dhis.org
Thu Aug 16 08:00:27 UTC 2001


> I'm still trying to work out how generic programming
> can be used as a paradigm instead of OO inheritance.
> I'm still a bit unsure about it.

Well.. I think you can use generic programing instead of polimorphic code
only when your code is desingned so all can be done by static-binding then
it makes more sense to do generic-programing but if you can avoid dynamic
binding I cant see how can be posible to resolve all with templates.


Regards

Roberto

------------------------------------------------------------------------
Roberto Diaz <rdiazmartin at vivaldi.dhis.org>
http://vivaldi.dhis.org
Powered by GNU running on a Linux kernel.
Powered by Debian (The real wonder)

Concerto Grosso Op. 3/8 A minor
Antonio Vivaldi (so... do you need beautiful words?)
------------------------------------------------------------------------




More information about the tuxCPProgramming mailing list