Joerg Schuelke schrieb:
Am Wed, 11 May 2011 00:23:13 +0200
schrieb Vinzent Höfler <jellyfish.softw...@gmx.net>:

I would. FPC already has interfaces.

There are good reasons why most languages didn't adopt the C++-way
of doing MI.

I think we have two concepts

  - inheritance
  - interface

You can decide for one ore the other, or possibly mix them.
It is a matter of design. Or a matter of capability to implement the
concept.

As Vinzent mentioned, the C++ model of multiple inheritance turned out to be a misfeature. I see no reason for repeating that experiment any more. Similarly Templates and Generics - generics IMO don't suffer from some problems, that turned out after the introduction of templates.

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to