Re: Support for keywords where possible
| From: | Pierre Joye | Date: | Wed, 18 Sep 2013 19:08:31 +0000 |
| Subject: | Re: Support for keywords where possible | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-69212@lists.php.net to get a copy of this message | ||
On Sep 18, 2013 10:53 AM, "Daniel Convissor" <
danielc@analysisandsolutions.com> wrote:
>
> Hi Bob:
>
> > It's now only for class/interface/trait, label and method names.
>
> Sure, that's not as bad.
>
> A bigger concern of mine is the added compatibility problem with new
> code possibly not being able to run on older PHP versions. That cost
> seems greater than the benefit of some developers being able to call
> $o->default() instead of $o->get_default().
>
> Thanks for your consideration,
Well, it is a good point but impossible to keep without killing any future
language improvements. Think of generators f.e.