Re: Support for keywords where possible
| From: | Bob Weinand | Date: | Tue, 17 Sep 2013 14:43:11 +0000 |
| Subject: | Re: Support for keywords where possible | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-69166@lists.php.net to get a copy of this message | ||
Am 17.9.2013 um 16:27 schrieb Daniel Convissor <danielc@analysisandsolutions.com>:
> Hi Bob:
>
>> I tried to widen the naming possibilities by allowing to use keywords
>> as identifiers (for function names, class names, label (goto) names,
>> ...) where possible.
>
> Thank you for putting energy in to enhancing PHP.
>
> That said, implementing this particular proposal will make code harder
> to read and debug.
>
> -1
>
> --Dan
Hi,
It's now only for class/interface/trait, label and method names. Don't see a
reason why this should make PHP harder to debug with an appropriate
syntax highlighting editor.
You could also argue that the current $obj->default; (that's already possible)
is also bad.
Bob Weinand