[fpc-pascal] about interface and multiple inheritance

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Feb 24 16:55:53 CET 2015


On 24 Feb 2015, at 16:41, Bee wrote:

> This is an interesting article about interface and multiple  
> inheritance in
> Java.
>
> http://blog.cleancoder.com/uncle-bob/2015/01/08/InterfaceConsideredHarmful.html
>
> I wonder, how modern Pascal (FreePascal in particular) answer the
> questions. :)

Couldn't he solve it by using a generic class to "implement" register  
and notify, so he doesn't have to manually duplicate the code?


Jonas



More information about the fpc-pascal mailing list