Re:PHP Annotations Are a Horrible Idea
by masklinn on Wednesday October 17, 2012 @08:21AM
(#4664038)
> the official RFC for annotations is actually a little cleaner in syntax, easier to read and implemented in the language itself which is a way beter system than comment annotations.
Sure, everybody knows that, but when the language does not have actual annotations yet (in whichever form they are), in-comment annotations are a very common choice. That's also what Java libs tended to use before annotations were added in Java 5.
Re:PHP Annotations Are a Horrible Idea
by theunraveler on Wednesday October 17, 2012 @08:47AM
(#4664130)
Wow, I didn't know about those RFCs to make annotations a part of the language. Thanks for posting.
Judging from the RCF and discussions on internals we still have a long way to go before we get annotations in PHP core.
http://marc.info/?r=1&w=2&q=b&l=php-internals... https://wiki.php.net/rfc/annotations