Re: Types on the right or on the left

From: Date: Wed, 05 Nov 2014 05:47:55 +0000
Subject: Re: Types on the right or on the left
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-78705@lists.php.net to get a copy of this message
On Nov 4, 2014 5:28 AM, "Stas Malyshev" <smalyshev@gmail.com> wrote: > > Hi! > > > PHP doesn’t need more inconsistency, sure, but we must be practical > > here. It is bad if PHP and Hack have the same feature with different > > syntax, it will cause developer confusion and further segment the > > communities. > > Given that Hack is a different language, which was designed AFAIK with > little input from PHP community, I don't see how there would be any > confusion - it's like saying PHP and Perl or PHP and Java having > different syntaxes leads to segmenting the communities. In fact, there > are two different communities - though, of course, people can belong to > both - and two different languages. I do not think Hack syntax should > have much weight in decisions about what syntax to choose in PHP - it's > a different language, even though it has many similarities. I have to agree with you here. Hack did not ask us for any of the specific things they did, whether we plan to do it, propose RFCs to get consistent syntax and behaviors for both projects. I tend to think it was on purpose and we should not base our decisions on hack. That does not mean we cannot map one feature or another but let stay independent, they can change that for any future changes if they wish consistencies between the two projects.

« previous php.internals (#78705) next »