Re: [RFC] Scalar Type Hints v0.2

From: Date: Thu, 15 Jan 2015 00:02:31 +0000
Subject: Re: [RFC] Scalar Type Hints v0.2
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-80508@lists.php.net to get a copy of this message
hi Andrea, On Wed, Jan 14, 2015 at 1:16 AM, Andrea Faulds <ajf@ajf.me> wrote: > Good evening, > > I’ve made some quite significant changes to my Scalar Type Hints RFC, and bumped its version > to 0.2. > > Here: https://wiki.php.net/rfc/scalar_type_hints > > This is a new thread because I’ve made a significant revision to the RFC, so it’d be > sensible to separate discussion of the updated RFC from the v0.1 RFC. > > Please tell me your thoughts. As much as I like the concept, it adds a bit too much confusions and options for my taste. My feeling (as you and other said already many many times), a relatively large part of the users would prefer strict type hinting over something that relies on the current conversion behaviors, for clarity. There are still some people opposed to strict hinting or opposed to hinting but that was pretty much the same when we discussed the additions of OO related features. Instead of having one option full of compromises, I would suggest to go with the 0.1 version with two options, strict and matching the current conversions behaviors and move on. No matter how we look at it, there is no way we can find compromises between one or the other solution. It is only about strict or current conversions, everything else is going to be an endless discussion about the exact same arguments, pros, cons, etc. Cheers, -- Pierre @pierrejoye | http://www.libgd.org

« previous php.internals (#80508) next »