Oh, so HACK picked this syntax. agree for avoiding compatibility.
On Thu, May 8, 2014 at 6:35 AM, Larry Garfield <larry@garfieldtech.com>wrote:
> On 5/7/14, 5:30 PM, Levi Morrison wrote:
>
>> On Wed, May 7, 2014 at 11:02 AM, Lin Yo-An <cornelius.howl@gmail.com>
>> wrote:
>>
>> Hi,
>>>
>>> Why using an additional ":" symbol for the return type? what about
>>> considering this:
>>>
>>
> *snip*
>
>
> In the case of the colon I value being compatible with Hack more than the
>> small gain of omitting the colon.
>>
>
> ^^ What Levi said. Colon vs. no colon is an easily bikesheddable
> discussion, and I'm happy to answer that with "follow HACK's lead to avoid
> confusion/incompatibility later".
>
>
> --Larry Garfield
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Best Regards,
Yo-An Lin