Originally posted by uid313
View Post
I'm glad they are optional in any decent PHP framework, and I'm glad annotations are not in PHP core.
Now, michal was a little rough on his reply, but here is mine:
Your argument is pretty weak when you say it is implemented using dirty hacks.
How the fuck do you think Java parses annotations? With vodoo magic?
Comments are comments. Annotations is code inside comments, regardless of language.
The concept itself is a hack.
Saying annotations in PHP are slow also shows you unfortunately do not know what you are talking about.
It's like saying "code generation is slow in language X", which is just... nonsense.
Comment