Re: [RFC][PRE-VOTE] Reserving More Types in PHP 7
| From: | Johannes Ott | Date: | Sat, 14 Mar 2015 22:38:40 +0000 |
| Subject: | Re: [RFC][PRE-VOTE] Reserving More Types in PHP 7 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84787@lists.php.net to get a copy of this message | ||
Am 14.03.2015 um 06:41 schrieb Levi Morrison:
> RFC Link: https://wiki.php.net/rfc/reserve_more_types_in_php_7
>
> The proposal has changed from the original. It no longer reserves the
> aliases out of the interest of reserving the smallest useful,
> uncontroversial subset. Some people want to remove aliases for these
> types so in the interest of being as uncontroversial as possible I am
> no longer proposing to remove them.
>
> This will go into voting on March 15th unless something comes up
> between now and then to persuade me otherwise.
>
Sorry but I'm strictly against reserving any aliases, without directly
implementing some functionality behind them. This will block any
user-land workarounds for doing those features, while they maybe will
implemented versions after this reservation by the language itself. That
is no well behavior of a language.
For this reason -1 vote for me having some kind of Scalar Autoboxing
objects already implemented. Yes I would be able to rename for example
int object to MyInt but then I have to refactor all usages and have to
refactor again if the feature is finally in.
Regards,
--
DerOetzi