Hi Marco,

Marco Pivetta wrote:
On 7 September 2015 at 06:33, Pavel Kouřil <pajou...@gmail.com> 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/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to