Re: Type hinting
| From: | Etienne Kneuss | Date: | Sun, 23 May 2010 20:33:26 +0000 |
| Subject: | Re: Type hinting | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48414@lists.php.net to get a copy of this message | ||
Hello,
On Sat, May 22, 2010 at 17:04, Zeev Suraski <zeev@zend.com> wrote:
> All,
>
> As I mentioned numerous times scalar type hinting is a very controversial
> feature in my mind and requires some substantial discussion before we move
> ahead to implement it.
> As such, I think we should revert the patch that was committed to trunk and
> move to discuss it first instead.
>
> My (& Lukas') thoughts on the subject are detailed at
>
> <http://wiki.php.net/rfc/typecheckingstrictandweak>http://wiki.php.net/rfc/typecheckingstrictandweak
>
> As one of the key people who designed PHP's type system I consider strict
> type checks completely alien to and counterintuitive in PHP and am therefore
> pushing to implement 'weak' typing instead, in a way that's consistent and
> familiar to users.
-1, this table is very counter intuitive and is definitely not
consistent with the rest of PHP. Either make it strict or loose but
not halfway and in a bizarre way.
>
> Zeev
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Etienne Kneuss
http://www.colder.ch