Re: [RFC] Return Type Declarations
| From: | Larry Garfield | Date: | Wed, 07 May 2014 22:35:43 +0000 |
| Subject: | Re: [RFC] Return Type Declarations | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74041@lists.php.net to get a copy of this message | ||
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:*snip*Hi, Why using an additional ":" symbol for the return type? what about considering this:
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