Re: Re: var keyword deprecation/removal

From: Date: Sun, 06 Mar 2016 20:29:00 +0000
Subject: Re: Re: var keyword deprecation/removal
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-325440@lists.php.net to get a copy of this message
On Sun, Mar 6, 2016, at 05:17 AM, Tim Streater wrote: > Strict typing is something languages should be moving away from. As fast > as possible. > > -- > Cheers -- Tim Except that the trend of late has been back toward explicit typing, because explicit types are incredibly useful for managing medium to large code bases. Duck typing doesn't scale to large code bases well, even though it simplifies many tasks for smaller code bases or for investigatory code. There's only 70 years of computer science research saying that explicit types are incredibly useful in a wide variety of situations. PHP's opt-in typing is actually fantastic, and allows a code base to scale from duck typing to strict typing as appropriate. --Larry Garfield

« previous php.general (#325440) next »