Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83782 Return-Path: <dennis@birkholz.biz> Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41081 invoked from network); 25 Feb 2015 13:01:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Feb 2015 13:01:44 -0000 Authentication-Results: pb1.pair.com header.from=dennis@birkholz.biz; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dennis@birkholz.biz; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain birkholz.biz does not designate 144.76.185.252 as permitted sender) X-PHP-List-Original-Sender: dennis@birkholz.biz X-Host-Fingerprint: 144.76.185.252 mx01.nexxes.net Received: from [144.76.185.252] ([144.76.185.252:52762] helo=mx01.nexxes.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/40-62407-6B7CDE45 for <internals@lists.php.net>; Wed, 25 Feb 2015 08:01:43 -0500 Received: from [137.226.183.192] (ip3192.saw.rwth-aachen.de [137.226.183.192]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: db220660-p0g-1@packages.nexxes.net) by mx01.nexxes.net (Postfix) with ESMTPSA id 16EC8482471 for <internals@lists.php.net>; Wed, 25 Feb 2015 14:01:40 +0100 (CET) Message-ID: <54EDC7B3.7040002@birkholz.biz> Date: Wed, 25 Feb 2015 14:01:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: internals@lists.php.net References: <CAEPJdunUN-=CwmQ4boLJ_OjNPrNna9iVLbAzPgOtcRKRjAt8jg@mail.gmail.com> <CAMA5aFYEj_5n1xxrvce1DxVVU4HJkwxQLNygbPQxhOxJJ1g+fg@mail.gmail.com> <CAPwsocGYX2HrJv-x0DOLKseEOTsTXrEh_-4EAKHFWf7P60ukHg@mail.gmail.com> <0aa4f2f9eedf3c66af3463d42a9d4645@mail.gmail.com> <54EDB0BA.9060802@birkholz.biz> <54EDB69C.6020401@lsces.co.uk> In-Reply-To: <54EDB69C.6020401@lsces.co.uk> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] The Game Theory of Scalar Type Hint Voting From: dennis@birkholz.biz (Dennis Birkholz) Hi Lester, Am 25.02.2015 um 12:48 schrieb Lester Caine: > On 25/02/15 11:23, Dennis Birkholz wrote: >> Or you could create a three-way vote, both proposals together need 2/3 >> majority over no-votes and the proposals that gets more than the other >> is chosen. > > Even that simplifies things perhaps a little too much? > > The questions as I see them are ... > > Scalar Type Hinting - yes/no > Type of hinting - weak/strict/other > If only weak hinting accepted, option to add strict anyway - yes/no > > Changes to casting rules are a separate discussion? > Change casting - yes/no/partial (selected tidy-up) that is perfectly fine, I just hope that you will not do two competing votes that both need 2/3+1 majority. Then both will fail and we (again) have no scalar type hints at all! Thanks Dennis