[fpc-devel] Declare variables inside the code

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed May 11 13:59:14 CEST 2011

Joerg Schuelke schrieb:
> Am Wed, 11 May 2011 00:23:13 +0200
> schrieb Vinzent Höfler <JeLlyFish.software at 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.


More information about the fpc-devel mailing list