Re: Re: var keyword deprecation/removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux