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.
[ Parent
| on HN ]
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.