Re:PHP Annotations Are a Horrible Idea
by chaosfox on Wednesday October 17, 2012 @08:25AM
(#4664046)
Its a syntax problem then ? what if the annotation wasn't inside comments would that make it ok ?
[ Parent
| on HN ]
Re:PHP Annotations Are a Horrible Idea
by bertzzie on Wednesday October 17, 2012 @08:27AM
(#4664049)
I think yes. It's ok if it's not inside comments. Just like any other language (I know at least C# and Java do this for example).
Re:PHP Annotations Are a Horrible Idea
by astrodust on Wednesday October 17, 2012 @11:26AM
(#4664842)
A lot of this boils down to PHP's feeble "array" declarator. Take a page from JavaScript and make it easy.
Re:PHP Annotations Are a Horrible Idea
by mark_story on Wednesday October 17, 2012 @01:08PM
(#4665414)
As of PHP 5.4 you can use [] to define arrays. It saves some typing, and is less noisy on the eyes I guess.