On Wed, 17 Nov 2010 01:54:22 -0000, Stas Malyshev <smalys...@sugarcrm.com>
wrote:
The problem is not new syntax per se. The problem is new syntax for
things that already have old syntax.
This is incontestably false. Although a big portion of the use cases can
awkwardly use the user-space parsed and interpreted docblocks, I'm more
interested in the potential for applications that require the engine to
parse to annotations (like in the patch, not doing it on demand for
bocblocks) and, for a select few, act upon them.
Your preoccupation with the cost of adding new syntax is reasonable and
the patch goes too far, but surely we could iron out those details later.
Maybe even just preceding the class/method/whatever declaration with an
annotation expressed with normal object instantiation syntax?...
--
Gustavo Lopes
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php