On Mon, 13 Sep 2010, Zeev Suraski wrote:

> I'm not sure we've seen a good reason to add annotations instead of using
> PHPDoc.  Sure, PHPDoc isn't a perfect fit for certain purposes, but I think it
> certainly falls in the good-enough fit for most purposes.  It's also both
> machine and human readable, and best of all - it's already there.

There is even a tokenizing extension for it in PECL: 
http://pecl.php.net/docblock

> There should be overwhelmingly strong reasons to add a whole new branch of
> syntax to PHP, I for one don't see the huge gain annotations bring on top of
> PHPDoc.

The only thing I can think of is added the storing of docblock data for 
class methods and class properties. Right now I think they're not being 
stored in the oparrays?  In any case, I am also not for adding more 
syntax just to do annotations.

cheers,
Derick

-- 
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to