Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83749 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65598 invoked from network); 25 Feb 2015 09:09:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Feb 2015 09:09:56 -0000 Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.213.175 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 209.85.213.175 mail-ig0-f175.google.com Received: from [209.85.213.175] ([209.85.213.175:57955] helo=mail-ig0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/90-62407-3619DE45 for ; Wed, 25 Feb 2015 04:09:56 -0500 Received: by mail-ig0-f175.google.com with SMTP id hn18so33894160igb.2 for ; Wed, 25 Feb 2015 01:09:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc:content-type; bh=3IA99bxxHfxQJAxzNbTQ+SMnB0CA0ve68QETLDtGtbU=; b=hbIqM/cUs5KxqQxwOzjiG1BzOIYuyoICASJD6cX5aTSvxf8KjPCtU9J9XdgjwZ0rcB D34vMEAIRgoL7BVtwXvuML9Qdni1/pnUB1niHEcp8Kdmy1UYLx7m/GOaqEXVEyerSvty kO5GgTw1/1trlJh+Iyz4YuPmFiFo1sV2N6j5/wb37MaRX1XOInZcQ2gK4syU5ytiP+ib yG6kfWfbPXpsHa0z1WYb+hRw6a9ulY2lS7SsH2dZkr6xwpAj57PRDVUXhHTINbXyo734 /4C123tYyMaY9ywyaO17+5L8sCPNVuhQIw63xH+HKppTf9IYUE5VVWVwMt7faNkWRJVL YDmQ== X-Gm-Message-State: ALoCoQlxcSWRED47Bu36QTw2spinhGIsfegq9W834cjz2IezlALHFPNTx8wovmmmQQoDMUYC/xalGhS9bzFdTPlhDru2CZn8efueE/lsDBL3h+8kLPxuUJzLxliYZlqTF0X8Jx+KdGUUav7Ofli1eLIN+L2EVd3HYQ== X-Received: by 10.50.39.112 with SMTP id o16mr3351875igk.0.1424855392908; Wed, 25 Feb 2015 01:09:52 -0800 (PST) References: In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGxmiF7Z22ffY8v2XWDZ84uTIvoQQKiqsfjApjlC7ydE2JPAA== Date: Wed, 25 Feb 2015 11:09:51 +0200 Message-ID: <0aa4f2f9eedf3c66af3463d42a9d4645@mail.gmail.com> To: Leigh , Albert Casademont Filella Cc: Benjamin Eberlei , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: RE: [PHP-DEV] The Game Theory of Scalar Type Hint Voting From: zeev@zend.com (Zeev Suraski) > -----Original Message----> From: Leigh [mailto:leight@gmail.com] > Sent: Tuesday, February 24, 2015 2:56 PM > To: Albert Casademont Filella > Cc: Benjamin Eberlei; PHP Internals > Subject: Re: [PHP-DEV] The Game Theory of Scalar Type Hint Voting > > On 23 February 2015 at 21:15, Albert Casademont Filella > wrote: > > I like it! That's what I proposed to Anthony (and Andrea before) > > before Zeev presented their alternative, to held a double vote on the > > strict vs weak feature. It was not met with much enthusiasm, hope they > > change their minds with your proposal! > > Except a dual vote is probably not going to work in favour of strict vs. > weak. > > Why would anyone who wants purely strict vote for "Yes (strict)", when > they > know that "Yes (weak)" is going to have the majority. It boils down to > voting > Yes for something you don't want. I don't think it will convert votes at > all. > _If_ I wanted _strict only_ and I was presented with "Yes (strict)", "Yes > (weak)", and "No" and could see the weak vote winning by a clear margin, I > would vote No. Leigh, There isn't a weak-only proposal on the table. There's the original one (dual mode) and the coercive one. Both have both strict and dynamic elements in them. I think that what Anthony proposed about a week or so ago, of having both votes, and if both pass 2/3 - have another vote to choose between them (where a simple majority wins) - makes the most sense in this uncharted territory. I think that opening the votes at the same time is probably a good idea. Zeev