Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69250 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61924 invoked from network); 21 Sep 2013 09:12:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Sep 2013 09:12:46 -0000 Authentication-Results: pb1.pair.com header.from=Frank.Liepert@gmx.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=Frank.Liepert@gmx.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.15.15 as permitted sender) X-PHP-List-Original-Sender: Frank.Liepert@gmx.de X-Host-Fingerprint: 212.227.15.15 mout.gmx.net Received: from [212.227.15.15] ([212.227.15.15:58227] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 41/A0-57646-8036D325 for ; Sat, 21 Sep 2013 05:12:41 -0400 Received: from FrankPC ([84.155.6.212]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LhjeH-1Vj9Xg1hnl-00ms46 for ; Sat, 21 Sep 2013 11:12:37 +0200 To: "'Bob Weinand'" , "'Developers PHP Mailing List'" References: In-Reply-To: Date: Sat, 21 Sep 2013 11:12:40 +0200 Message-ID: <000301ceb6aa$b9082f60$2b188e20$@Liepert@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac6y280q/bhUvf/wT/u5I92yG6T15wDyIgTg Content-Language: de X-Provags-ID: V03:K0:FUt/MyDGaQ5XA09P8Q430MX/8lsdZQUJhujWqVzqI6PoRBanzwD GV1XQxoBl+QNWVDSDcYahkA8UYaqj+nLXEPmh/9TaJg7uRQCKE0Ia4uVRfaHLrpNacsNd3T E7AN7golwzRtAj3j3/vDyOMe1x1rM1n4L6Ehsc0tq4+icRW3JZTDkCz+yfwf+lEshhYW2mj 7mLc4kDWSz+SBUdBguDwg== Subject: AW: [PHP-DEV] [RFC] Keywords as identifiers From: Frank.Liepert@gmx.de ("Frank Liepert") > 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