Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58178 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36566 invoked from network); 27 Feb 2012 19:22:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2012 19:22:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:38210] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AC/81-29394-7E7DB4F4 for ; Mon, 27 Feb 2012 14:22:15 -0500 Received: by werh12 with SMTP id h12so1099870wer.29 for ; Mon, 27 Feb 2012 11:22:12 -0800 (PST) Received-SPF: pass (google.com: domain of kris.craig@gmail.com designates 10.216.132.32 as permitted sender) client-ip=10.216.132.32; Authentication-Results: mr.google.com; spf=pass (google.com: domain of kris.craig@gmail.com designates 10.216.132.32 as permitted sender) smtp.mail=kris.craig@gmail.com; dkim=pass header.i=kris.craig@gmail.com Received: from mr.google.com ([10.216.132.32]) by 10.216.132.32 with SMTP id n32mr7899451wei.12.1330370532726 (num_hops = 1); Mon, 27 Feb 2012 11:22:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6rRIn4943u2acAoaDzHr5kwl/w91PGYNvjnP1PsWowo=; b=mTRwTB/p9OrBEoDpoxrK6bYOc9Ryfi9Xp/OqbO8iieo+Upru2vjL++MjlX1O5HUQbt DGonuOswWFnxxmatJkUNb6G9EG9RWHaejwbQ5zPs9Uk/+rremUAwB7RyTt+rwZK9n4Ei PBuaXnhIlAo8E7+afWRZ4yz+dFwK0EAmAyMog= MIME-Version: 1.0 Received: by 10.216.132.32 with SMTP id n32mr6267950wei.12.1330370532661; Mon, 27 Feb 2012 11:22:12 -0800 (PST) Received: by 10.223.75.146 with HTTP; Mon, 27 Feb 2012 11:22:12 -0800 (PST) In-Reply-To: <99c7c5e9aacb0d87aba5894dc32b320c.squirrel@www.l-i-e.com> References: <1330357150.2159.30.camel@guybrush> <99c7c5e9aacb0d87aba5894dc32b320c.squirrel@www.l-i-e.com> Date: Mon, 27 Feb 2012 11:22:12 -0800 Message-ID: To: Richard Lynch Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=0016e6d7ef2904d98404b9f7072f Subject: Re: [PHP-DEV] Scalar type hinting From: kris.craig@gmail.com (Kris Craig) --0016e6d7ef2904d98404b9f7072f Content-Type: text/plain; charset=ISO-8859-1 Ok, fine. We get it. You don't think this can be done. Duly noted. Now that you've voiced your opposition, can we please dedicate this topic to discussing how this can be done? If you think we're wasting our time, then ok; it's our time to waste. I'd be happy to take you up on your challenge to try to implement this, but first we have to brainstorm what exactly we'll be doing. And that'll be much easier if we don't have to keep sifting through duplicate posts about why this is a bad idea. Let's just set that aside for now so we can brainstorm. On that note, I would like to direct everyone's attention to my last post where I suggested a new "strong" concept. --Kris On Mon, Feb 27, 2012 at 11:16 AM, Richard Lynch wrote: > On Mon, February 27, 2012 11:38 am, Anthony Ferrara wrote: > > Discussed to death. Yet only one time before (discussing a specific > > patch)... > > Did you go back to the old, old, old PHP list (and was it PHP-dev back > then?), before it split into php-general and php-internals and php-*, > back when there weren't enough users to warrant more than two lists? > > You may find more fruitful results there, I think. > > Or not. > > Did you check the wiki and RFCs that came out of those discussions? > > Those are the places where the really serious proposals with patches > developed after the mailing list wrangling. > > They all failed, in the end, but those are the ones that actually got > taken seriously, because they had enough specificity to discuss for or > against for technical merit. > > The idea has always always had some technical merit. The > implementation, however, has always failed. > > The very strict typing usually failed quickly. > > The not so strict typing either failed after a lot of effort, and edge > cases kept cropping up, or ended up being so weak as to not provide > any additional value over the original dynamic typing. > > The patches are out there. The conclusions and technical issues are > out there. They may be lost in the sea of flame-wars, but they do > exist. > > > If you don't like this feature, and you can explain from a TECHNICAL > > perspective why, please do so! If you don't like the feature, and are > > going to lean on "It's not Java", or "We've discussed this to death > > already", please don't... > > Stas has already stated that you can't do what you want and have it > mean anything without changing the very nature of PHP. > > I said the same, poorly, and invite you to TRY with a patch instead of > discussing it endlessly here. > > > And to be fair: "and you can provide new arguments to the discussion" > > has already happened quite a bit (dating back the past 5 years), but > > those arguments were ignored or overruled for political reasons. > > Write the proof of concept patch, please. > > Then we can discuss the technical merits or prove why it won't work. > > Otherwise, it really is an endless discussion of a dead horse. > > -- > brain cancer update: > http://richardlynch.blogspot.com/search/label/brain%20tumor > Donate: > > https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FS9NLTNEEKWBE > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --0016e6d7ef2904d98404b9f7072f--