Re: Annotation PHP 7
| From: | Pierre Joye | Date: | Tue, 04 Nov 2014 07:49:31 +0000 |
| Subject: | Re: Annotation PHP 7 | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-78612@lists.php.net to get a copy of this message | ||
On Nov 4, 2014 8:50 AM, "Levi Morrison" <levim@php.net> wrote:
> Whether the annotation is in a comment or not, the idea of changing
> behavior at runtime based on the annotation is pretty magical. I
> highly discourage using this type of feature whether it's in a comment
> or not.
>
> I will certainly vote no on any RFC on this subject, as I see it as
> being significantly more harmful than helpful.
This is exactly what I meant. We have almost all major projects using them
but we may consider not adding them natively because we find it magic,
ugly, whatever.
As I do consider personal tastes important, there are times where we should
listen to our users.