Re: PHP7 and types

From: Date: Mon, 13 Jul 2015 07:49:42 +0000
Subject: Re: PHP7 and types
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-87133@lists.php.net to get a copy of this message
On Jul 13, 2015 2:08 PM, "Stanislav Malyshev" <smalyshev@gmail.com> wrote: > > Hi! > > > Of course it's a win. Or do you like to write docblocks for every > > single class property or method (even when the member is obvious) just > > Yes. What is obvious to you today may not be at all obvious to your > coworker two years later. > > > to have a "@var" so your IDE can work? > > No, not "just" my IDE can work. IDE is just the side effect. Proper > documentation does much more than that. It seems to go off topic. Docblocks are only slightly related to this thread. The same could be said about annotation (which are widely used too). I do like the idea to be allowed to do such thing. It is indeed not a high priority but still nice to have. Cheers, Pierre

« previous php.internals (#87133) next »