Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88096 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16575 invoked from network); 7 Sep 2015 14:07:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Sep 2015 14:07:14 -0000 X-Host-Fingerprint: 176.248.191.165 unknown Received: from [176.248.191.165] ([176.248.191.165:23446] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/00-16471-11A9DE55 for ; Mon, 07 Sep 2015 10:07:13 -0400 Message-ID: To: internals@lists.php.net References: <61.90.26858.306BCE55@pb1.pair.com> Date: Mon, 7 Sep 2015 15:07:08 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0 SeaMonkey/2.35 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Posted-By: 176.248.191.165 Subject: Re: [PHP-DEV] Re: [RFC] [Discussion] Short Closures From: ajf@ajf.me (Andrea Faulds) Hi Marco, Marco Pivetta wrote: > On 7 September 2015 at 06:33, Pavel KouĊ™il wrote: >> >> Also, I realized it's definitely harder to write ~ than =. On my >> keyboard layout (Czech Qwerty) I have to do "right alt + shift + (key >> above Tab)". I'm not sure how it is with other non-US keyboard >> layouts, but it might be worth exploring before deciding on a symbol; >> or maybe there's a possibility that my keyboard layout is just an >> anomaly and you can write ~ on most keyboard layouts with a single key >> (or double). >> > > The same usually applies to ~, {, }, [ and ]. > I personally stopped buying non-en_US keyboards and that's it. > Basically, if you code you kinda want to use en_US layout anyway (or dvorak > if you had too much free time). > I realize that this is unfriendly to beginners, but the ~ already is part > of the syntax of the language anyway. This sounds a little elitist to me. Learning a new keyboard layout is a hassle and it's not fair to expect non-Americans to go to extra lengths. The vast majority of the people in the world aren't American, and even if a majority of programmers are, that won't remain the case for long. Of course, we can't accomodate every keyboard layout perfectly, but we should still take these things into account. Thanks. -- Andrea Faulds http://ajf.me/