Re: annotations again
| From: | Ferenc Kovacs | Date: | Mon, 09 May 2011 18:40:09 +0000 |
| Subject: | Re: annotations again | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52178@lists.php.net to get a copy of this message | ||
On Mon, May 9, 2011 at 8:35 PM, Stas Malyshev <smalyshev@sugarcrm.com>wrote:
> Hi!
>
> If possible, could you look at the patch and give me high level ideas
>> of what could be changed?
>>
>
> If the patch is the same RFC that is at
> https://wiki.php.net/rfc/annotations, the same problems that
> were voiced a
> number of times on the list stay:
>
> - it is overly complex (see class User example - it's really a piece of
> code, I think it should be in the code)
> - it introduces method call syntax not compatible with the rest of PHP
> - it introduces object instantiation syntax not compatible with the rest of
> PHP
>
> These issues were mentioned before - were they fixed?
> The RFC also does not clarify where the code contained in annotations is
> run and how it would play with bytecode caches.
>
please read the other thread, I brought up the original thread (the more php
friendly version), as it was mentioned, the rfc didn't up to date AFAIK.
Tyrael