Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58370 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21678 invoked from network); 29 Feb 2012 23:54:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Feb 2012 23:54:19 -0000 Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.170 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 209.85.212.170 mail-wi0-f170.google.com Received: from [209.85.212.170] ([209.85.212.170:54509] helo=mail-wi0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B0/6F-46815-AAABE4F4 for ; Wed, 29 Feb 2012 18:54:19 -0500 Received: by wibhj13 with SMTP id hj13so4477wib.29 for ; Wed, 29 Feb 2012 15:54:16 -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 n32mr1330224wei.12.1330559656470 (num_hops = 1); Wed, 29 Feb 2012 15:54:16 -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=bAG1beG28C+8bczPL1Agf2rFUx0HXM0yHS0dzUSN3q4=; b=qWD3vq20kOSqRdCN4RgseQ4AxSP3JkFqIJmFdJLDZQozjeJ1ji+dicMJe2kW1XlUod 7hItSyziB6wLdXF8tMtMwpCB+gYsZCuLC4AEYfOc5+5eejcI5EKJ/jPLkH37btWzkNSC MACvt6HHbtIV8/H/YXYwaa3+vfNr34H17tgFw= MIME-Version: 1.0 Received: by 10.216.132.32 with SMTP id n32mr1075284wei.12.1330559656343; Wed, 29 Feb 2012 15:54:16 -0800 (PST) Received: by 10.223.75.146 with HTTP; Wed, 29 Feb 2012 15:54:16 -0800 (PST) In-Reply-To: References: <1330357150.2159.30.camel@guybrush> <693e15008681dfe7372eaea66214f8a8.squirrel@www.l-i-e.com> <887FE7CFF6F8DE4BB3A9535F53AFD06AC3152C6C@il-ex2.zend.net> <887FE7CFF6F8DE4BB3A9535F53AFD06AC3152F5D@il-ex2.zend.net> <43409D28-75AC-4E9C-A0EA-66FC1DB9FAE7@gmail.com> Date: Wed, 29 Feb 2012 15:54:16 -0800 Message-ID: To: Daniel Macedo Cc: Matt Wilson , Zeev Suraski , PHP internals Content-Type: multipart/alternative; boundary=0016e6d7ef29ab37f304ba230f43 Subject: Re: [PHP-DEV] Scalar type hinting From: kris.craig@gmail.com (Kris Craig) --0016e6d7ef29ab37f304ba230f43 Content-Type: text/plain; charset=ISO-8859-1 I respectfully disagree. We've already covered this actually. The same argument could have been (and probably was) made that stricter adherence to OO standards in PHP 5 would break the PHP paradigm. Instead, it made PHP considerably better and opened it up to a much wider audience. People are still able to write procedural code if they so choose. Likewise, these types would be optional, so people would still be able to write strictly dynamic code if they so choose. If existing code will work exactly the same as before and all this does is add a new feature layer to the next major version, how can anyone reasonably claim that this "breaks" PHP? Gimmie a break. --Kris On Wed, Feb 29, 2012 at 3:42 PM, Daniel Macedo wrote: > I'm a bit like Matt in that I might see something useful in this, but > worry that it just might not really work as initially intended. > > Zeev actually gave a pretty explanatory reply (albeit a bit hostile > and condescending, come on dude!) as to why it doesn't fit into the > language paradigm. > > Made me hate him a little bit, but I have to say I'm satisfied with > that reply. :) > > Best regards, > Daniel Macedo > --0016e6d7ef29ab37f304ba230f43--