Hi Tim,

As I already told you, you should proceed step by step. Implementing immutable 
properties *and* removing constants is just a too big step. And, IMO, one may 
pass, while the second one has no chance, especially if you propose to remove 
PHP constants as well as class constants, without a BC layer. Unfortunately, 
while we can sometimes break BC, we are not designing from scratch.

Now, if you want to link both features and withdraw the whole, that's your 
choice, and none will blame you for that. You were asking for opinions that's 
only mine.

Regards

François

> -----Message d'origine-----
> De : Tim Bezhashvyly [mailto:tim.bezhashv...@gmail.com]
> Envoyé : mercredi 18 février 2015 10:44
> À : PHP Internals
> Objet : Re: [PHP-DEV] RFC Proposal
> 
> Dear internals,
> 
> my RFC was not about dropping just class constants but constants in general.
> Now I realise that you are not ready for this and most likely will never be.
> Thus I’m withdrawing my proposal.
> 
> Regards,
> Tim
> 
> > On 18 Feb 2015, at 06:59, Dmitry Stogov <dmi...@zend.com> wrote:
> >
> >
> >
> > On Tue, Feb 17, 2015 at 8:35 PM, Tim Bezhashvyly
> <tim.bezhashv...@gmail.com <mailto:tim.bezhashv...@gmail.com>> wrote:
> > Dear PHP internals,
> >
> > this is my first RFC proposal and I am not sure if in this email is 
> > supposed to
> contain all RFC details or just a brief idea .. which is to drop PHP 
> constants in
> favour of “final" immutable variables.
> >
> > I think dropping constant or class constants is a bad idea.
> > Adding immutable variables may make sense, but you should explain use-
> cases, behavior, syntax, implementation details, etc
> >
> > Thanks. Dmitry.
> >
> >
> > This is basically only a concept but I can also handle its implementation.
> >
> > Please let me know if I have to provide any additional details.
> >
> > Regards,
> > Tim
> > --
> > PHP Internals - PHP Runtime Development Mailing List
> > To unsubscribe, visit: http://www.php.net/unsub.php
> <http://www.php.net/unsub.php>
> >
> >



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to