Re: Types on the right or on the left
| From: | Stas Malyshev | Date: | Mon, 03 Nov 2014 19:28:09 +0000 |
| Subject: | Re: Types on the right or on the left | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-78585@lists.php.net to get a copy of this message | ||
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.