Re: [RFC][DISCUSSION] Deprecate the backtick operator
| From: | Rowan Collins | Date: | Tue, 13 Feb 2018 23:01:36 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Deprecate the backtick operator | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101863@lists.php.net to get a copy of this message | ||
On 13 February 2018 22:41:54 GMT+00:00, Wes <netmo.php@gmail.com> wrote:
>Consider that people dislike writing \strlen(), they will for sure
>dislike
>writing u"string". Hence reassigning backticks to unicode strings
>seemed to
>me like a possibility.
I think a lot of people would dislike writing all their strings in backticks as well. It may not
even be that easy to type on some keyboard layouts; outside of coding, it's a pretty obscure
character.
A prefix syntax also has the advantage that you can still have u'strong' and
u"weak" variants, and it has precedent in other languages, whereas
foo has a
strong association with code (Perl, Markdown come to mind).
Regards,
--
Rowan Collins
[IMSoP]