RE: [PHP-DEV] Re: Re: PHP Annotations RFC + Patch
| From: | Jonathan Bond-Caron | Date: | Wed, 15 Sep 2010 20:04:58 +0000 |
| Subject: | RE: [PHP-DEV] Re: Re: PHP Annotations RFC + Patch | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49676@lists.php.net to get a copy of this message | ||
On Wed Sep 15 12:17 PM, Guilherme Blanco wrote:
> I think meta programming is not and would never be part of comment.
> As previously said, docblock means documentation, without any meaning
> to parser, entirely human readable and totally removable without
> affecting overall execution.
I have to agree here, there's lots of php tools that 'strip comments'.
If you strip comments, you'd be effectively removing 'annotations' which changes how
that code would run in a given framework or tool. It kind of defeats the purpose.
But my opinion as an end user and framework developer:
the rfc really needs to elaborate on the use cases *specific to php*
java has some here:
http://jcp.org/en/jsr/detail?id=250
Does php need to be become this complicated?
I worry about how php can grow complicated to a point where you won't be able to use it without
using tool or framework X.
I'll use .NET, thank you very much.