Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58707 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6371 invoked from network); 7 Mar 2012 00:02:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2012 00:02:48 -0000 Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.170 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qy0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:60852] helo=mail-qy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D7/35-15021-7A5A65F4 for ; Tue, 06 Mar 2012 19:02:48 -0500 Received: by qcmt36 with SMTP id t36so3319367qcm.29 for ; Tue, 06 Mar 2012 16:02:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=xsoBXJISAPWmLb/jafDQDXg9t6wcjHrBGUZmzk1Bt3M=; b=lJqsU5Ge53s3Dr1tHs4u4fkFn5CgUNTLaKQMghCZZh98WnNkQINqubMLWgObmdemda AIFd+eQNr6A4q+LaZ0XzJlNwXv9RkXlqF6FphOGMdrEPRrg3/GUKFK6O8iUNrnqG9OfZ l1/jdg1YD+gf5+fOxWhsiugUk92HhrvYKWj8s35sCzcGXU3fx8sTffo+UNm0cM3NNRoJ LR/NlXX0kSPrlCp4ktu3g4XT4vRBdAu9E6aDo7GDQx9W4eFFeRd0Q/sIuIM99CzzTMq7 U68xs3euBmEGr8oF4cS8HW8XNThFH6+FMMWjuhgrGj2z6bqr4/aWG3ukd0POKte8Fr/7 AGiQ== MIME-Version: 1.0 Received: by 10.224.204.67 with SMTP id fl3mr185425qab.53.1331078565165; Tue, 06 Mar 2012 16:02:45 -0800 (PST) Received: by 10.229.49.74 with HTTP; Tue, 6 Mar 2012 16:02:45 -0800 (PST) In-Reply-To: References: Date: Tue, 6 Mar 2012 19:02:45 -0500 Message-ID: To: John Crenshaw Cc: Simon Schick , Kris Craig , Raymond Irving , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Scalar Type Hinting From: ircmaxell@gmail.com (Anthony Ferrara) John, > Sorry, I disagree. This is nowhere close IMO, and silence doesn't denote = consent in this case. I actually basically stopped participating when it be= came apparent that people were determined to rush head first into creating = a doomed RFC without any process to ensure that historical arguments were c= onsidered and addressed, with minimal attention to feedback, and with no co= ncern for syntax (proposed syntax is as bad as the namespace syntax). Well, my take on it was that thinking out-loud in a thread is not going to get us anywhere with nothing to base the conversation on. So I picked an option and proposed it. As now, we can base the conversation around a real implementation. Don't like the syntax? Great! Let's find a better solution. But I felt that it was more important to put a base for the conversation, rather than just letting it wander aimlessly. > I'm in favor of addressing the type hinting issue, but I'm opposed to thi= s RFC. It is crippled, confusing, and has a plethora of unaddressed issues. Then point out the issues. Help improve it and make it something that *should* go in the core. That's why it's still in draft mode. I didn't propose it, or put it for discussion, I put it in draft for that very reason. As far as it being crippled, I'm not sure what you mean, just because it's only doing casting? As far as confusing, it is? I thought this was actually one of the more straight forward proposals, since it re-used so much from the core (meaning that it doesn't add new behavior, it re-uses existing behavior). As far as having a plethora of unadressed issues, I'm absolutely sure it does. But I haven't seen a single one put out there so that it can be fixed... > The object cast has similar problems, and although I recognize the value = of this sort of functionality, the current proposal seems to mostly ignore = a number of critical problems that were raised when it was discussed on the= mailing list. Which were? The critical problems that I saw on the list were mostly related to the original proposal wrapping set() with __assign() (which this proposal removed). The only known issues that I know of that remains is with the __toScalar() part (which in worst case can be removed from the proposal). These are RFCs. I am (as their author) explicitly asking for your comments and contribution. They are not set in stone in the least... In fact, the only way they would get to the point where I would propose them is with enough input and overview that it was mature. They are not mature now. Can we make them mature? Thanks, Anthony