Re: PHP7 and types
| From: | Stanislav Malyshev | Date: | Sun, 12 Jul 2015 08:10:00 +0000 |
| Subject: | Re: PHP7 and types | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87116@lists.php.net to get a copy of this message | ||
Hi!
> Not completely bogus. At least with typed properties you won't need to
> actually write the docblocks to have the IDE "hints". It's a minor win
> for IDE users too.
I don't see "not needing to write docblocks" as a win, quite the
contrary. In fact, in a number of projects I worked with, code without
proper documentation (including docblocks) simply wasn't accepted into
the repository.
While I don't think this needs to be mandatory, I also don't see major
difference - so you have to write type instead of docblock, you still
have to write something.
--
Stas Malyshev
smalyshev@gmail.com