[fpc-pascal] Interface delegates and the implements property specifier
genericptr at gmail.com
Fri Dec 27 19:59:48 CET 2019
> On Dec 27, 2019, at 10:29 AM, Ryan Joseph <genericptr at 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?
More information about the fpc-pascal