Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91345 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96041 invoked from network); 22 Feb 2016 20:12:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Feb 2016 20:12:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.182 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.182 mail-pf0-f182.google.com Received: from [209.85.192.182] ([209.85.192.182:35328] helo=mail-pf0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/C9-25165-0BB6BC65 for ; Mon, 22 Feb 2016 15:12:33 -0500 Received: by mail-pf0-f182.google.com with SMTP id c10so101281188pfc.2 for ; Mon, 22 Feb 2016 12:12:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=Mjcb1BfbgxS7NxNV8IjNWIWOHalcKfd5okAI4fEH+EY=; b=PlYA8AkDihIOk9ip1qulXCIudp2Lc2Oz3tWsdy0VtQWdsIQ+O/jc32Eg/Yzr6NElcJ LpRRX4d/Z5qUC8qknY9ttGX8Gr+B0mNVEX02++3GK6tr5NhNkZWy4zjt7fkMMS8bnhF8 MdSkbutSeFTpmGdWF7jRVvMNbnSUYBAtjNJnCmdUBTY2sFsFBUpK3QC5vGq0ulsvZcT3 MKsBwtO5KWAj0XHiogi4umt2c8i0NB454/2B3VQlTAeVXo1p9NsqSmGYv8WzBtPKwCl9 l35+lb9NnW6g3sMu3jMolD3xgYKedqpcGwy9rFVe3kfjTDYBe4LSw3FaeUcsjaK5PQcH nCmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=Mjcb1BfbgxS7NxNV8IjNWIWOHalcKfd5okAI4fEH+EY=; b=ikyc31l4bm6tfNk9tB4Gecy0poJ8ljELiN18sNnolqRge5r+nCc1Ipy+8gsO4Z/uSZ Y+l0BI9HkjzfTGbidBf9P217Y0RfRpeUVU0I5LzMg7qWyrseT0kUDawKm4mWPxrCzegR psEbUozOjZ3rsrmOrfpgJ7wzmkIc3Tq96zIKeoneFwBROwVziXm13MRtDk/+6GLXE96C S7A08g+T+76QjAkR9DW5xT6ZNjWNdJ9N3qUE6xezA2y/PkyQ+MtY+EoYEv/HVWNRpQIG pr1xsiEwDACn0lgfwDjKgbVdb3icuV9Zy/9LhEwvvoJ473X5JfGf80FNsRy4NAFcq+VF IqRw== X-Gm-Message-State: AG10YORqwiunqLS4lWHM1MXhizMbsT4AQ5YF3n1HMsGQuldpWIbyB8hLKgjl0FnyQn/c7g== X-Received: by 10.98.16.198 with SMTP id 67mr40799243pfq.21.1456171950016; Mon, 22 Feb 2016 12:12:30 -0800 (PST) Received: from Stas-Air.local (76-220-46-95.lightspeed.sntcca.sbcglobal.net. [76.220.46.95]) by smtp.gmail.com with ESMTPSA id dg12sm38946516pac.47.2016.02.22.12.12.28 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 22 Feb 2016 12:12:29 -0800 (PST) To: internals@lists.php.net References: <56C77575.4090906@fleshgrinder.com> <56C77FC8.1070500@gmail.com> <56C78496.9020804@fleshgrinder.com> X-Enigmail-Draft-Status: N1010 Message-ID: <56CB6BA7.8060500@gmail.com> Date: Mon, 22 Feb 2016 12:12:23 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56C78496.9020804@fleshgrinder.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC Proposal] var keyword deprecation/removal From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Old cellphones were shipped with a user manual that contained precise > instructions on how to deal with the installed OS. You don't really need a whole manual to know two things are the same. You only need one line from that manual. It's a minimal effort, well within expected of what may be required of a person learning new language - I think reading a couple of lines is not excessive. > New smartphones do not contain a user manual because the OS is so > intuitive that nobody has a need for them. Or so the marketing team would love us to believe ;) If you think a programming language somehow can be so "intuitive" that you never need to actually know anything to use it - you're in for a somewhat unpleasant surprise, unfortunately. We can make learning it easi-er - and having aliases is part of it - but we can never make it so easy as never having to actually touch the manual or any other learning media. > discussion because you simply say no and do not even allow a That is not correct. I say no with substantiation - namely, that removing aliases would cause code breakage and would not add anything to actual functionality. Your argument seems to be generic "redundancy is bad" argument, and treating somebody asking questions on stackoverflow as evidence that we have a problem. Both are wrong - redudancy can be both good and bad, and in our case I think it is good because it lets people continue to rely on their previous experience both in PHP and other languages. Also, somebody asking questions is not a reason to change the language - there always will be people asking questions, and that's fine as long as we have good easily accessible answers, which we do. -- Stas Malyshev smalyshev@gmail.com