Re: Re: Generic classes and methods RFC
| From: | Ben Scholzen | Date: | Thu, 10 Sep 2015 16:25:14 +0000 |
| Subject: | Re: Re: Generic classes and methods RFC | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88139@lists.php.net to get a copy of this message | ||
On 10.09.2015 03:50, Stephen Coakley wrote:
Attachment: [application/pkcs7-signature] S/MIME Cryptographic Signature smime.p7s
I like the "where" syntax as well. Most of PHP's "type operators" are words instead of glyphs, so it makes sense to keep the tradition for consistency. See the various syntaxes and keywords for using traits for comparison. I think adding a comma between "where" expressions is a little redundant; I'd leave it out like in C#. -- StephenI like the "where" syntax as well, as it really fits into the PHP syntax way. I think I should update the RFC accordingly. -- Ben Scholzen http://www.dasprids.de
Attachment: [application/pkcs7-signature] S/MIME Cryptographic Signature smime.p7s