Hi!

It seems that there is a misunderstanding about the goals of the
annotations. They are not meant to be read by human being
(javadoc/phpdoc/etc. are) but to be parsed automatically to be used
for services.

If it's for services/phpdoc, why can't it be part of phpdoc?

I see here a whole new language syntax being invented, complete with nested constructs, new instantiation syntax, new argument parsing rules and what not. All that while tiniest attempts on introducing syntax sugar were consistently rejected. But here we have sub-section of language with totally different rules - PHP has no named parameters, but annotations have them, PHP has no array/instantiation shortcut syntax, but annotations have it, etc. Please understand, I'm not objecting to a particular detail of syntax - I'm objecting to the fact that the design of the language appears to be guided by a random whim.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

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

Reply via email to