Re: Re: [RFC] [Discussion] Short Closures
| From: | Pavel Kouřil | Date: | Mon, 07 Sep 2015 15:58:36 +0000 |
| Subject: | Re: Re: [RFC] [Discussion] Short Closures | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88098@lists.php.net to get a copy of this message | ||
On Mon, Sep 7, 2015 at 8:24 AM, Marco Pivetta <ocramius@gmail.com> wrote:
>
> 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.
>
> Marco Pivetta
>
Hi,
I know this is a problem with more symbols that just ~, and can be
really keyboard layout specific.
That's why I didn't mean it as a "blocker" for the ~ symbol, but more
like a thing to consider for the case the discussion would end up with
deciding between ==> and ~> with no real "preference". I'm sorry if it
did look differently. :)
Personally, I don't have an issue with writing either of those
variants and would be fine with either in the end (I can write ==> a
little bit faster and comfortably - since I can write it with just one
hand - but the difference is not THAT big), but I thought it's worth
mentioning.
PK