Re: The Game Theory of Scalar Type Hint Voting

From: Date: Wed, 25 Feb 2015 11:43:19 +0000
Subject: Re: The Game Theory of Scalar Type Hint Voting
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-83769@lists.php.net to get a copy of this message
Yep, that's what I suggested but Leigh did see a competitive advantage for weak-type hints in any case because if strict won we would have weak hints too if I didn't use the declare option. I can see that point even though it was not made at all with the intention of favouring weak vs strict, I really don't care much, I just want them (whichever flavour) for the future JIT/AOP goodies that we may have. So yeah, I am again suggesting the same as Dennis! :) On Wed, Feb 25, 2015 at 12:23 PM, Dennis Birkholz <dennis@birkholz.biz> wrote: > Hi all, > > Am 25.02.2015 um 10:09 schrieb Zeev Suraski: > > 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. > > but that is exactly what Benjamin predicted to fail according to game > theory. The only way this will work is to vote if some scalar type hints > should come in with 7.0 (with a 2/3 majority) and then have a 50%+1 vote > on which of both proposals. Otherwise the chance for either passing 2/3 > majority is virtually zero. > > 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. > > Greets > Dennis > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#83769) next »