> On Feb 13, 2021, at 5:09 PM, Ben Grasset via fpc-pascal 
> <fpc-pascal@lists.freepascal.org> wrote:
> 
> This seems possibly a *little* too similar to the existing Interface type in 
> Object Pascal, however, I *would* really like to see some kind of 
> functionality that basically amounts to "has the same capabilities as 
> Interfaces and works on records and objects too, but does NOT require any 
> kind of heap allocation".

Not really, traits/mixins are multiple inheritance alternative.

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to