Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80605 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6057 invoked from network); 16 Jan 2015 00:44:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jan 2015 00:44:07 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.53 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.218.53 mail-oi0-f53.google.com Received: from [209.85.218.53] ([209.85.218.53:55327] helo=mail-oi0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/21-33406-6DE58B45 for ; Thu, 15 Jan 2015 19:44:07 -0500 Received: by mail-oi0-f53.google.com with SMTP id g201so15139622oib.12 for ; Thu, 15 Jan 2015 16:44:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=lXV0O1Bn5K11ztCcRibWO8P2OshxrCRdIUNxV08IjgU=; b=v1I+hRq7SEueQ28oC+jfuhr1BgL4MFiO2JFuhGe8x9TOgp7t40CxkCVGAaaTMCH5U5 Dnba5wzU6Excq8bUZjWW80Adhlw7SpF8anlwCpXQ3h4yoC9vBe8Enl4irjNdyRAYaG+b 3Bln3Xv7ny39dyAfKGaWAakbu9WiIxIHbN3UJV/861LGBBQz0JRoOvXLrQdw10QSXWio kBHxsHigO08wMXp97aX/GgXEMavhRhPAXx02PpxPbz8Kx7NKCWfhItRQwIZKk0Z/sfhP olc9CpbTp8bCfOacJNfxEkxay/GkxDZzJfsYP1pytQ5v+BbetZ+fiSmpjiyXCNfXnOW6 Mzmw== X-Received: by 10.182.20.110 with SMTP id m14mr7663649obe.25.1421369043143; Thu, 15 Jan 2015 16:44:03 -0800 (PST) Received: from Stas-Air.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id mq8sm802927oeb.2.2015.01.15.16.44.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jan 2015 16:44:02 -0800 (PST) Message-ID: <54B85ECD.8070800@gmail.com> Date: Thu, 15 Jan 2015 16:43:57 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Andrey Andreev , Andrea Faulds CC: Mike Willbanks , Zeev Suraski , Richard Quadling , Leigh , PHP Internals List References: <8DCD1B72-C81D-499E-B455-E4A042CD76E6@ajf.me> <4E2073DE-0951-498C-97BB-DDAC094F11FA@ajf.me> <9a033dd1f223f854e760924d118ab812@mail.gmail.com> <2ae0164cb9b9bf1c974d7a3c60af0466@mail.gmail.com> <6105ea99002e634373c09685310e26a6@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Scalar Type Hints v0.2 From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > And to hell with the "consistency" argument. Since when did PHP become > *that* concerned about purity and high consistency levels? Call this a The "purity" part should be addressed to strict proponents - it's their purist sensibilities that are offended by converting '23' to 23 ;) As for concern with high consistency - when you have 5M users, you have to grow up a bit. We used to commit features when we feel like it, release when it rained on Thursday and our RFC process was "nobody screamed for a month after I committed it so it's probably OK". Now we have RFC process, release schedule, CI, votes and nobody seems to be worse off because of that. We can have more consistency in the language too, and we won't feel worse because of it either - in fact, we'll be better. > speculation, but barely a few people care for the the internal > functions' behavior - most of us will be happy if they stay as is > regardless of the kind of type-hinting that gets adopted. What we want > is the features (plural!), not the philosophy. Actually, we want both. Language is not just a bag of tricks, at least a good one. It's also an underlying philosophy which allows you to understand why these tricks work the way they do and how to use them in most efficient manner. If the tricks are just random, it conflicts with the pattern-matching nature of human brain and makes it harder to use it. That's why people see faces on Mars and rabbits on the Moon - people need patterns they can recognize. If you don't give them the good patterns, it makes harder to work with the thing. -- Stas Malyshev smalyshev@gmail.com