Re:“Did you mean?” Experience in Ruby
by jiggy2011 on Thursday October 23, 2014 @04:36AM
(#8497211)
PHP5 has real type hinting in the language, so you don't need to write any more than you would in Java.
[ Parent
| on HN ]
Re:“Did you mean?” Experience in Ruby
by TazeTSchnitzel on Thursday October 23, 2014 @09:30AM
(#8497978)
And soon it'll even have return typing, should that RFC pass.
phpdoc handles much more than just typing function parameters.
Re:“Did you mean?” Experience in Ruby
by debaserab2 on Thursday October 23, 2014 @09:49AM
(#8498070)
By far the most common usage is parameters and return values. Even moreso than comments.