Re: Quick sanity check ...
| From: | Jesse Schalken | Date: | Wed, 20 Apr 2016 20:32:44 +0000 |
| Subject: | Re: Quick sanity check ... | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-92577@lists.php.net to get a copy of this message | ||
You're blaming humans (devs, testers etc) for a problem which could have
been caught automatically (by a strictly enforced type annotation). It
follows that you actually *want* writing PHP software to be inefficient,
labour intensive and error-prone.
On Thu, Apr 21, 2016 at 6:01 AM, Stanislav Malyshev <smalyshev@gmail.com>
wrote:
> Hi!
>
> > The outcome is easy to grasp. Because it did not crash by a TypeError
> > (which would also require the file to be declared as strict), and we lost
> > 100k in sales. But PHP does not need more strictness...
>
> In other words, somebody wrote code that is supposed to only accept ints
> but does no checks. Somebody wrote tests that actually don't test
> anything. Somebody signed off on code that was not properly designed or
> tested to go into production. And the language is to blame. Right.
>
> --
> Stas Malyshev
> smalyshev@gmail.com
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>