Re: [VOTE] Scalar Type Hints
| From: | Andi Gutmans | Date: | Thu, 05 Feb 2015 23:58:30 +0000 |
| Subject: | Re: [VOTE] Scalar Type Hints | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81985@lists.php.net to get a copy of this message | ||
OK. But maybe that's why PHP is better than those languages :)
On Thu, Feb 5, 2015 at 3:49 PM, Rowan Collins <rowan.collins@gmail.com>
wrote:
> On 5 February 2015 23:22:26 GMT, Andi Gutmans <andi@zend.com> wrote:
>
> >having such a declare(…) syntax will be ridiculed by the broader app
> >dev community until the end of time…
>
> I think that's laying it on a bit thick. It's no worse than Python's "from
> __future__ import", or JS's 'use strict;' (quotes included).
>
> I wish unknown declare directives were ignored, though, because it would
> make for a great forward-compatibility mechanism. Still, that, like the
> syntax format, is a decision made many years ago.
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>