Re: Quick sanity check ...
| From: | Zeev Suraski | Date: | Wed, 20 Apr 2016 21:00:43 +0000 |
| Subject: | Re: Quick sanity check ... | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-92578@lists.php.net to get a copy of this message | ||
> On 20 באפר׳ 2016, at 23:33, Jesse Schalken <me@jesseschalken.com> wrote:
>
> 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.
Which is exactly why we're seeing a massive exodus from loosely typed languages like PHP and
JavaScript towards strongly typed languages like Java, with people reporting radically better
productivity.
Seriously.
We all know the advantages of strict typing. What seems that we don't all know are the
advantages of dynamic typing. And it's no coincidence that in reality, the exodus is going in
the other direction, and dynamically typed languages are reported to be a lot more productive.
Might you consider reading the research Johannes pointed to?
What made you choose PHP? If you think it's fundamentals are so bad and push you to be
inefficient, sentenced to hard labor and your code prone to errors, how did you make this horrible
choice?
Zeev