Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74044 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31852 invoked from network); 8 May 2014 00:45:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 May 2014 00:45:50 -0000 Authentication-Results: pb1.pair.com header.from=cornelius.howl@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cornelius.howl@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.171 as permitted sender) X-PHP-List-Original-Sender: cornelius.howl@gmail.com X-Host-Fingerprint: 209.85.213.171 mail-ig0-f171.google.com Received: from [209.85.213.171] ([209.85.213.171:51600] helo=mail-ig0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 53/00-31332-DB3DA635 for ; Wed, 07 May 2014 20:45:50 -0400 Received: by mail-ig0-f171.google.com with SMTP id c1so8450083igq.16 for ; Wed, 07 May 2014 17:45:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=StIVXRjpL55h4J+nwI2saHZwtZuXY8ztP3nTm8c6bMY=; b=Snw1Vw8KlH3vK74QuWE/efPe9JEl/bo4U7nMLThQgDu+0M3wH1cst4j8NE9ZRJ9RA9 dwQ2L1rS6rNvIDI7leZwXvCMAJmkvt/Xf9s8YQLECnaKQuhQPheaisGj27RBHaH2yvDB apPN1OlhRh4UxApnA6B9f0+p38E3vgMVXz1qBZZQeyWvbAodhAUhN/nMmhiiZeECTr8z 96jnzwZsUkU8WuOuIr2G1Jhy0pTM5XkEt4mTWGhJPAfFWjDdnucAK1dwiMTsJ9fvIgdQ o5eapuh+Crdi473ktFKf/KCn2NG07tsoN9ykVWuaocCrnWaC76WwT/cCCwzBCWdbv5zZ qOOA== MIME-Version: 1.0 X-Received: by 10.50.1.47 with SMTP id 15mr39667557igj.1.1399509947073; Wed, 07 May 2014 17:45:47 -0700 (PDT) Received: by 10.64.17.163 with HTTP; Wed, 7 May 2014 17:45:46 -0700 (PDT) In-Reply-To: <536AB53F.4070701@garfieldtech.com> References: <535E9AED.2080904@garfieldtech.com> <535ECB9E.5050701@garfieldtech.com> <535FC0DE.5050709@garfieldtech.com> <536AB53F.4070701@garfieldtech.com> Date: Thu, 8 May 2014 08:45:46 +0800 Message-ID: To: Larry Garfield Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=047d7bdc1a704149f504f8d8cd8d Subject: Re: [PHP-DEV] [RFC] Return Type Declarations From: cornelius.howl@gmail.com (Lin Yo-An) --047d7bdc1a704149f504f8d8cd8d Content-Type: text/plain; charset=ISO-8859-1 Oh, so HACK picked this syntax. agree for avoiding compatibility. On Thu, May 8, 2014 at 6:35 AM, Larry Garfield wrote: > On 5/7/14, 5:30 PM, Levi Morrison wrote: > >> On Wed, May 7, 2014 at 11:02 AM, Lin Yo-An >> 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 --047d7bdc1a704149f504f8d8cd8d--