Re: Trait aliasing syntax suggestions
| From: | Lars Strojny | Date: | Thu, 21 Feb 2008 13:06:26 +0000 |
| Subject: | Re: Trait aliasing syntax suggestions | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35689@lists.php.net to get a copy of this message | ||
Hi,
Am Donnerstag, den 21.02.2008, 13:55 +0100 schrieb Lukas Kahwe Smith:
[...]
> I like "trait" instead of "use" or any of the other proposals as well
Do you like "class Foo class Bar" instead of "class Foo extends Bar"?
Normally PHP uses a descriptive naming scheme, while "class Foo { trait
XY; }}" would be declarative.
cu, Lars
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc