Hacker News new | ask | show | jobs
by magicalhippo 1646 days ago
Not all languages allow for an interface to have a default implementation though. Delphi for example does not.

This leads the programmer towards composition and delegation.

To aid with this, Delphi even has some sugar for delegation[1].

[1]: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Usin...