Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78614 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71664 invoked from network); 4 Nov 2014 08:37:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Nov 2014 08:37:44 -0000 Authentication-Results: pb1.pair.com header.from=php@tutteli.ch; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@tutteli.ch; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain tutteli.ch designates 80.74.154.78 as permitted sender) X-PHP-List-Original-Sender: php@tutteli.ch X-Host-Fingerprint: 80.74.154.78 ns73.kreativmedia.ch Linux 2.6 Received: from [80.74.154.78] ([80.74.154.78:47910] helo=hyperion.kreativmedia.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/C2-24107-65098545 for ; Tue, 04 Nov 2014 03:37:43 -0500 Received: (qmail 27041 invoked from network); 4 Nov 2014 09:37:38 +0100 Received: from cm56-129-238.liwest.at (HELO RoLaptop) (86.56.129.238) by ns73.kreativmedia.ch with ESMTPSA (AES128-SHA encrypted, authenticated); 4 Nov 2014 09:37:38 +0100 To: "'Levi Morrison'" Cc: "'PHP Internals'" References: <002601cff777$eb923430$c2b69c90$@tutteli.ch> In-Reply-To: Date: Tue, 4 Nov 2014 09:37:37 +0100 Message-ID: <000601cff80a$972e0250$c58a06f0$@tutteli.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHFXQsvCqySdhOS5hZldA9wwvCKZAF9M3/mnFluG5A= Content-Language: de-ch Subject: AW: [PHP-DEV] Types on the right or on the left From: php@tutteli.ch ("Robert Stoll") > -----Urspr=C3=BCngliche Nachricht----- > Von: morrison.levi@gmail.com [mailto:morrison.levi@gmail.com] Im = Auftrag von Levi Morrison > Gesendet: Montag, 3. November 2014 19:54 > An: Robert Stoll > Cc: PHP Internals > Betreff: Re: [PHP-DEV] Types on the right or on the left >=20 > > Thoughts? >=20 > I think you didn't follow the mailing list or read the return types = RFC carefully if you think putting the return type before the > function name is good at all. Also, why are you starting this = conversation now instead of months ago or even a couple > weeks ago when I asked for feedback on the latest return types RFC? >=20 > Lastly, I want to say that compatibility with Hack is only one = consideration of all things considered. Please don't let that > guide your thoughts too far one way or the other. >=20 You obviously took it the wrong way, I did not intend to attack your = RFC. Besides, I wrote an email to you in private mentioning that it is = an inconsistency, but that this should not stop your RFC (and thus I = have written it in private and did not mention it on the list). The discussion I wanted to start is not about your RFC, it is about what = direction PHP wants to go when it comes down to further type hints, put = types only on the right, or only on the left or mix it. I followed the return type RFC and thus know that many people think it = has to be on the left hand side. Fair enough, I do not have anything = against such a decision. I also have nothing against putting the type on = the right hand side. What merely bothers me is that it would be another = inconsistency in the language design. It's not very intuitive for a user = if a type hint is once on the right hand side and once on the left hand = side.=20