Content deleted Content added
Hairy Dude (talk | contribs) →Drawbacks: rm bare URLs template – already at the top of the seller Tags: Mobile edit Mobile web edit Advanced mobile edit |
Removed Python because the stackoverflow answers references are bullshit. One is an awful hack at best. The other is only for a single internal class, not for more than one. Python has no mitigation for the problem stated. OTOH it has no problem with diamond inheritance. |
||
Line 291:
* [[Kotlin (programming language)|Kotlin]] includes the delegation pattern in the language syntax.<ref>{{cite web | url=https://kotlinlang.org/docs/reference/delegated-properties.html | title=Delegated Properties | website=Kotlin Reference | publisher=JetBrains | access-date=2018-07-11}}</ref>
* [[PHP]] supports [[Traits (computer science)|traits]].
* [[Raku (programming language)|Raku]] provides a {{code|handles}} trait to facilitate method forwarding.<ref>{{cite web |title=Type system |url=https://docs.raku.org/language/typesystem#index-entry-handles_trait-handles |website=docs.raku.org |access-date=18 August 2022}}</ref>
* [[Rust (programming language)|Rust]] provides traits with default implementations.
|