On Thu, 30 Aug 2012 09:35:31 -0400 "Steven Schveighoffer" <[email protected]> wrote: > > For example, I use netbeans to write php -- a dynamic language. > There are no real variable type declarations, so when you start > typing, auto-complete sucks unless you have told the IDE what a > variable is. You do so like this: > > /** > @var Type > */ > var $varname; > > And now the IDE assumes you have stored a Type into $varname, so when > you type $this->varname->, it completes with the members of Type. >
Wow, so it's basically reinventing static typing poorly. You've got the boilerplate and verbosity of a poorly-made static type system, with very few of the benefits (ie, IDE-awareness and nothing else). I'll never understand the dynamic world.
