Hi!

> As far as I know, the PHP core has never dictated docblock contents, or
> any other aspect of coding style. Such decisions are up to "the

True, but having common standards which include docblocks in not unheard
of in programming ecosystems.

In Java world, prescribing docblock contents - not by the language, but
by the tools like maven plugins - is a common occurrence in projects. Of
course, as many other things, some Java tools take it a bit overboard
IMHO by doing things like failing build if you forget a dot at the end
of a sentence in a comment, but that's for the tool builders and admins
to decide.

In Python world, there are also common tools that also check docblocks
and alert on docblock contents not fitting standards.

All these outside of core language, of course.
-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to