AW: [PHP-DEV] [RFC] Keywords as identifiers
| From: | Frank Liepert | Date: | Sat, 21 Sep 2013 09:12:40 +0000 |
| Subject: | AW: [PHP-DEV] [RFC] Keywords as identifiers | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-69250@lists.php.net to get a copy of this message | ||
> Hi!
>
> This is the (official) RFC thread for the patch proposed in
> http://php.markmail.org/message/7rn4mbwkbytqa3ig
>
> https://wiki.php.net/rfc/keywords_as_identifiers
>
> Any feedback about the RFC or the implementation?
There is still an open request, see https://bugs.php.net/bug.php?id=28261.
Maybe you can mention or even integrate it?
What I dislike about the limited set of keywords is the reasoning. Language
design shouldn't solely depend on technical limits/possibilities. if but not
else/elseif? switch but not case? Imho the language design/semantics should
be taken into consideration.
One more thought: I think there must have been a reason for introducing
keywords once. If so, has this reasoning become untenable?
All in all I personally like the concept of keywords. They give some
orientation, especially for beginners. More experienced programmers may see
them as obstacles (in singular cases?). If widening keyword restrictions,
then I would support johannes suggestion: method names only.
Frank