News for hackers. Stuff that matters.
Re:PHP Annotations Are a Horrible Idea by conradfr on Wednesday October 17, 2012 @10:30AM (#4664571)
By not using / * * to start your comment block ?
Re:PHP Annotations Are a Horrible Idea by mikeash on Wednesday October 17, 2012 @10:42AM (#4664635)
If you're going to have different syntax for annotations and actual comments, why not choose a syntax that's properly different and not just a weird mutation?
Re:PHP Annotations Are a Horrible Idea by robryan on Wednesday October 17, 2012 @04:58PM (#4666407)
Because they want something that is still valid PHP.
Re:PHP Annotations Are a Horrible Idea by mikeash on Wednesday October 17, 2012 @06:12PM (#4666651)
But why? Do I misunderstand that these annotations change the meaning of the code? Why would you want something that's still valid PHP without them, but means something else?