Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81991 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20440 invoked from network); 6 Feb 2015 00:33:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Feb 2015 00:33:05 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.200 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.200 imap1-2.ox.privateemail.com Received: from [192.64.116.200] ([192.64.116.200:37647] helo=imap1-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6B/28-17766-0CB04D45 for ; Thu, 05 Feb 2015 19:33:04 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 7DC34B0007B; Thu, 5 Feb 2015 19:33:01 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap1.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap1.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vojssggcNQYO; Thu, 5 Feb 2015 19:33:01 -0500 (EST) Received: from oa-res-26-240.wireless.abdn.ac.uk (oa-res-26-240.wireless.abdn.ac.uk [137.50.26.240]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id D489DB00085; Thu, 5 Feb 2015 19:33:00 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) In-Reply-To: Date: Fri, 6 Feb 2015 00:32:58 +0000 Cc: PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: <9C4794F0-8A48-4662-A6A0-AD55F54E2CA6@ajf.me> References: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> To: Andi Gutmans X-Mailer: Apple Mail (2.2070.6) Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints From: ajf@ajf.me (Andrea Faulds) Hi, > On 6 Feb 2015, at 00:24, Andi Gutmans wrote: >=20 > Oh come on... You're taking me a bit too literally. Your proposal = isn't > Java-like strict typing... I even said that. I still disagree with the sentiment, but never mind. I realise it was = just a joke. >> No, I don=E2=80=99t think that=E2=80=99s fair. I=E2=80=99d be against = holding a vote on strict >> types only for the same reason: the community is divided. Letting one = side >> =E2=80=9Cwin" is simply unfair on everyone else. >=20 > I don't understand that statement. You mean it's not OK for any side = to win > unless you win? Or are you saying that you tried to strike a balance > between the two parties which you hoped everyone could rally around? The latter. > What > if they can't? It's all or nothing? Btw, not trying to be facetious = but > really trying to understand where you're coming from. I just don=E2=80=99t feel comfortable if only one camp is satisfied. It = doesn=E2=80=99t seem fair. While first-past-the-post politics is = =E2=80=9Cwinner takes it all=E2=80=9D (usually, anyway=E2=80=A6 but = that=E2=80=99s way off topic), the design of the PHP programming = language shouldn=E2=80=99t be. Compromise doesn=E2=80=99t lead to ideal = solutions, sure, but it does lead to more people being happy than = otherwise, if it=E2=80=99s a good compromise. >> To quote myself in the Scalar Type Hints thread, here=E2=80=99s a = rough tally of >> who was in favour of what in the v0.1 thread (I think =E2=80=9Cyourself= =E2=80=9D was Zeev >> in that context): >=20 > Zeev and I aren't twins (thank god for him) and aren't always in = agreement > on such topics. Looks like I am not on that list. Don't see him either > btw=E2=80=A6 huh? Maybe you misunderstood me. I meant that in that list in the quote, the = word =E2=80=9Cyourself=E2=80=9D was referring to Zeev, since that=E2=80=99= s who I was responding to in the original email (I think). I don=E2=80=99t= think you were in that discussion - maybe you were and I missed you. > Anyway, I think I need to sleep on it... I understand what you're = trying to > do. It's definitely not a crazy strict type hinting approach (which = would > be very bad)... But I find elements of it challenging=E2=80=A6 I also have some gripes with this RFC - declare() isn=E2=80=99t the = nicest of things to have to type on every file. But, I think it seems to = work out better overall than all the numerous other proposals I=E2=80=99ve= seen so far, and that=E2=80=99s why I like it. I also need sleep. Goodnight! -- Andrea Faulds http://ajf.me/