Re: [VOTE] Automatic Property Initialization

From: Date: Sun, 02 Feb 2014 02:06:24 +0000
Subject: Re: [VOTE] Automatic Property Initialization
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-71962@lists.php.net to get a copy of this message
Imho HHVMs syntax has the massive flaw that you cannot use docblocks on those properties anymore, which is not the case with this RFC. All other things equal, this is why this RFC should clearly be favored. Also with typehints or - unlikely but possible - property-accesors the hhvm syntax will become very verbose for the __construct line, wheras this RFC can handle those cases without having to think about future compatibility. On Sun, Feb 2, 2014 at 2:32 AM, Sara Golemon <pollita@php.net> wrote: > On Sat, Feb 1, 2014 at 5:20 PM, Andrea Faulds <ajf@ajf.me> wrote: > > On 02/02/14 01:18, Sara Golemon wrote: > >> Who said anything about blocking? I just don't think the approaches > >> have been contrasted enough to be able to say we've done due > >> diligence. Don't put words in my mouth. > > > > I don't know who said anything about blocking, where does my email > mention > > it? > > > My bad, that was Gordon. Just getting peeved at having my motivations > and intentions called into question for having the audacity to want to > keep our implementations consistent. But hey, let's just all invent > random bits of syntax, who cares about the users, right? > > -Sara > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#71962) next »