On Sun, 29 May 2011 16:17:48 +0100, Herman Radtke <hermanrad...@gmail.com>
wrote:
I doubt it. This is the same list that doesn't see the point of
annotations or wants them pushed to documentation blocks. Since
annotations have been a central part of the last 100 or so JSRs and
I've only seen one or two
informed objections, it's fairly obvious the list has had very little
experience with Java.
I actually think this list has shown a lot of maturity by not adding
annotations to PHP (yet). I encourage people to read what Joshua Bloch
had to say about adding Generics to Java 5 in a book called Coders at
Work [1]. To paraphrase: major additions to a complex system need to
really be thought out. Annotations are a major addition and PHP is
already a very complex system.
I'm not saying the originally proposed implementation of annotations ought
to have been accepted as is. In fact, several reasonable concerns about it
were raised (from heart, the alien syntax, the pseudo-named parameters,
the time of instantiation/validation, the ability to cache it properly in
APC, etc.).
However, these concerns are moot because the consensus was to not
implement annotations at all. I clearly remember the first discussion
ended with everyone applauding a suggestion of adding an interface to
parse doc blocks instead.
I any case, the reference to annotations was just a small flame-bait on an
e-mail about a different topic. I don't think it's useful to resume the
discussion about annotations at this point. I respectfully dissent, but
it's obvious there's no consensus on adding support for them.
--
Gustavo Lopes
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php