RE: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion
| From: | Zeev Suraski | Date: | Tue, 16 Nov 2010 07:06:27 +0000 |
| Subject: | RE: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50232@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Pierre Joye [mailto:pierre.php@gmail.com]
> Sent: Tuesday, November 16, 2010 1:45 AM
> To: Zeev Suraski
> Cc: guilhermeblanco@gmail.com; PHP internals
> Subject: Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support
> discussion
>
> On Tue, Nov 16, 2010 at 12:39 AM, Zeev Suraski <zeev@zend.com> wrote:
> > Suggesting phpdoc is used for the purposes mentioned does not mean we
> don't understand what we're talking about.
>
> I feel like you never used annotations in other languages, did you?
You got me... But as an intelligent human being I'd like to think I can evaluate the merits of
a feature without having to actually use it.
I'm not saying that annotations don't give you any value. Sure they do. I'm saying
that they come at a great price of adding an obscure branch of syntax into a language that's
already grown significantly in complexity, and the bang for the buck isn't worth it. Those
advanced developers needing that feature can make do with phpdoc.
Zeev