[fpc-pascal] Traits Proposal

Ryan Joseph genericptr at gmail.com
Sun Feb 14 03:08:30 CET 2021



> On Feb 13, 2021, at 5:09 PM, Ben Grasset via fpc-pascal <fpc-pascal at 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



More information about the fpc-pascal mailing list