Re: Re: [RFC Proposal] var keyword deprecation/removal

From: Date: Fri, 19 Feb 2016 21:52:34 +0000
Subject: Re: Re: [RFC Proposal] var keyword deprecation/removal
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-91334@lists.php.net to get a copy of this message
On Fri, Feb 19, 2016 at 7:59 AM, Zeev Suraski <zeev@zend.com> wrote: >> On 18 בפבר׳ 2016, at 23:23, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote: >> >> Hi all, >> >>> On Fri, Feb 19, 2016 at 4:33 AM, Andrea Faulds <ajf@ajf.me> wrote: >>> >>> Colin O'Dell wrote: >>>> >>>> I'd like to propose an RFC to deprecate and eventually remove the >>>> "var" >>>> keyword. >>> >>> >>> I don't have a strong opinion on that, I guess I'm in favour. It seems like >>> a fairly harmless deprecation. >>> >>> Though if we do get rid of the var syntax, I'd like it if we kept the >>> reserved word, because it still might be useful in future for typed >>> variables or different variable scoping. >> >> Same opinion. >> Keeping various syntax makes language more complex. > > I think it's a drop in the bucket compare to new features we're adding plenty of on > every version. These make the language a lot more complex than var being an alias to public (not > even different syntax). > > To me, var falls squarely in the bucket of "no strong reason to remove". I agree. There is no strong reason to remove. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#91334) next »