On Fri, 2008-01-04 at 13:22 -0500, Ilia Alshanetsky wrote: > On 4-Jan-08, at 1:20 PM, Stanislav Malyshev wrote: > > >> layer. It also makes the code far more readable and understandable > >> not the mention help doc generation tools that interrogate the code. > > > > I was under impression that it is good manners to actually document > > your code and not rely on the tools to "interrogate" your code. Of > > course, not everybody has good style, but I don't see much value in > > changing language so that people writing in bad style would feel > > more comfortable. >
Well it would be much easier to type hint than to manually document every one of your function parameters. > If you can offload type documentation you can make better use of your > time documenting the logic of the code, there is something to be said > about self documenting code especially when doing things like WSDL > generation. Very good point. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php