Re: Naming of 'weak' type hints
| From: | Terry Cullen | Date: | Tue, 31 Mar 2015 13:52:55 +0000 |
| Subject: | Re: Naming of 'weak' type hints | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-85584@lists.php.net to get a copy of this message | ||
On Tuesday, 31 March 2015, Zeev Suraski <zeev@zend.com> wrote:
> All,
>
>
>
> One thing that I think we should change is how we refer to the ‘weak’ type
> hints. The word ‘weak’ has a negative ring to it, and considering this is
> how the language behaves across the board it’s a pretty bad name for this
> feature.
>
>
>
> Personally I think we should go for ‘dynamic’ when we document it, as this
> is the common way to refer to this behavior (dynamic languages). We could
> also consider going for ‘lax’ or ‘lenient’ as the opposite of ‘strict’,
> although I think we can easily do without introducing a new word into the
> vocabulary here.
>
>
>
> Thoughts?
>
>
>
> Zeev
>
Coercive?
--
Regards,
Terry Cullen
Freelance Senior PHP Programmer/Web Developer
--
Phone 1300-955-838 <+61-1300-955-838>Mobile 04-3836-8032 <+61-4-3836-8032>
Email terry@terrycullen.com.auWeb http://www.terrycullen.com.au/G-Talk
terry@terrycullen.com.au13 Jarrott St, ChelmerTerah Pty Ltd | ACN 135 365
552 <http://www.terrycullen.com.au/>[image: Terah
Pty Ltd logo]
<http://www.terrycullen.com.au/>