> On Dec 27, 2019, at 10:29 AM, Ryan Joseph <generic...@gmail.com> wrote:
> 
> It's really just about the namespace and avoiding deeply nested this.that.do 
> kind of syntax. We could accomplish this using just plain records, no need to 
> even get involved with the complicated interface syntax. According to the 
> wiki https://en.wikipedia.org/wiki/Trait_(computer_programming) lots of other 
> languages are having this need to build component like systems and want a 
> syntax that formalizes the concept.

I also wanted to mention this article which talks about default interface 
implementation (protocols in Swift) which exists in at least C# and Swift. Is 
that a viable route perhaps since we already have interfaces?

http://machinethink.net/blog/mixins-and-traits-in-swift-2.0/

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