Re: Reserving primitive types
| From: | Timm Friebe | Date: | Sun, 08 Feb 2015 13:32:09 +0000 |
| Subject: | Re: Reserving primitive types | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82140@lists.php.net to get a copy of this message | ||
Hi,
> > I personally see the benefits this could have but also the BC break this
> > would
> > introduce.
[...]
> I don't see the point of this: the Scalar Type Hints RFC already has a voting
> option on reserving the type names, and it is set to pass, so by the time your
> RFC could go to a vote, it would have been rendered redundant.
My point is to prevent adoption hurdles *before* PHP 7's release. PHP 5 was a
sad story in regard to this. PHP 7 shouldn't be; and doesn't have to: So far,
PHP 7 has stayed largely BC-break free, which is good for its adoption.
I believe more than just yes and no should be considered in this case, which
breaks existing code - not just in edge cases and in near-bug-scenarios.
Timm