Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101080 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26843 invoked from network); 7 Nov 2017 11:50:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Nov 2017 11:50:32 -0000 Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.15.18 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.15.18 mout.gmx.net Received: from [212.227.15.18] ([212.227.15.18:52357] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B3/A0-09857-40E910A5 for ; Tue, 07 Nov 2017 06:50:30 -0500 Received: from [192.168.2.106] ([79.243.124.218]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M7Gj8-1f8nBu13Be-00x31G; Tue, 07 Nov 2017 12:50:24 +0100 To: Andrea Faulds , internals@lists.php.net References: <5e102e2e-5d5a-4eaa-822a-201671428fb1@gmx.de> Message-ID: Date: Tue, 7 Nov 2017 12:50:22 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:XE4EzdxL9ibUBPPTaVENaiOh3VHnKY0DCpIF37v9H/xc6AbUgot Zl2eunf8l3F9QXbyNDxlCejoxqzd8d6DCHxkcER88SkdugrpbymtF90SrvgtkBb3LbQ4POa Svrq0hbsRl/rwgJWb5GWSIA0VGpvtQPesIx6cZkKQ42NPkJrvRPgfaMoRMgiQdeXGtY3/hN xvd2qX4haF756SLPXRw5Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:MFSYSG9F3qo=:KUUjQJjOAFKaiKFNjCCQtQ owPgHZ2x7lGLOPBzGQmoq5Dzx3S52KTZu+ShqI48uZOGgWJEUaQz8Zh8dKsYtyvV9Emwtx83J iqRJwqO6/SQF4YmYx+Yyo7P61tbgwvpu5Ium7VhX82zaq6DeOK5739IaYi+gc3kJ0iT2kSaMy ZH40BSYbUWHDu4xza5yIGF4bT+kNxrAVSVqo/HA3JgjxJQrfNQCKT+lV6+hD2OK3xnsu9f0md u02K/6DuGYway47vknHGD0Drzzb9V4snR3OCN11ERJCOGLtrTU1iXtXX3jKqVSnmZcWWNMHzK 9+tlinsbeAVwky7MR6yz9LWcqidPnbjiArVtqXKrLmPo51mF1X2LHdE5h0z4ecX+LqUtT5yjU yAEQrmup+rDYzPyXFwFdKmulJE4qd6JYPCuchU8G6TLSHqiz9KEcu3GYayO2ham7vnLD1mtWD vDmNYuFeiIEOBSrUJ3mYWXhj3FmfNiNYWtQS6MTdIieAxKlqb52Ri9p2TFames7ZDOqW4VoIq k30Gt9YWhG8FDXpgw9Tw/9kdwa2wdsfalwKRzCfnANUYBKjkR2dutsmMOd/aYYRhKYcgNZi4v h9Bc8sww79LsH5iUqeI+rDWh2yptnwOxWJYtQYA/9m59Ow5Hq6RLIWRoZqJJRdk0qE7pyDzr/ a3ITA004r5N1aMAsRl74QADt9QjUEhNYoGmeGcYkxJf3gzdoA6y+Ue1B/7zDXqaFQjHc7iJCx IeWsW7uf+iJHncR42wCjqUsez54HZu0PQzCJbqXnwpXwRp+f7V2aqc/Blw6Ub2O47r3ErMwkO K2GK3SOlWt0wlYHErMGMNEK6doAp3PYtBnve0sJPCU8kZwJKoU= Subject: Re: [PHP-DEV] Re: Proposal: Rename image functions From: cmbecker69@gmx.de ("Christoph M. Becker") On 07.11.2017 at 02:53, Andrea Faulds wrote: > OOP would be nice for avoiding having to type image* constantly. > > But as for the hard-to-read naming, OOP isn't necessaary, IMO. The > current GD API's naming without underscores cries out for camelCase. And > that's possible for methods… but it's also possible for functions! Both > are case-insensitive, so in fact, you can already type GD function names > in camelCase and the code will work. The problem here is we have a > convention of writing global function names in the manual in lowercase, > something we don't do for methods. The convention is rather to document function names in their canonical form, i.e. what's returned via reflection. > The simple and pragmatic solution is > to make an exception and document GD in camelCase, as God intended. > (Probably.) I don't know what God intended, but it seems that Rasmus intended PascalCase, see . -- Christoph M. Becker