Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Osiris
on Oct 17, 2012
|
parent
|
context
|
favorite
| on:
PHP Annotations Are a Horrible Idea
The examples in the annotations RFC that he links to actual use C# style attributes syntax:
<Attribute(Value)> public class Sample { }
I think that's a better approach as it makes the annotations an actual language construct and keeps them out of comments.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: