Re: [RFC] [Under Discussion] Random Extension Improvement
| From: | Guilliam Xavier | Date: | Mon, 20 Jun 2022 13:15:34 +0000 |
| Subject: | Re: [RFC] [Under Discussion] Random Extension Improvement | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-118008@lists.php.net to get a copy of this message | ||
Hi,
> https://wiki.php.net/rfc/random_extension_improvement
Thanks, but I am not sure about your argument in "Classnames are not
canonicalized": does "PHP applies strict PascalCase to class names"
(which remains to be proved) really imply to rename *acronyms* (e.g.
"CombinedLCG" to "CombinedLcg")? especially given existing classes
like "SimpleXMLElement" (not "SimpleXmlElement"), and that the
accepted "Class Naming" RFC (https://wiki.php.net/rfc/class-naming)
voted for "PascalCase except Acronyms" (not "Always PascalCase") --
excerpts:
| Abbreviations start with a capital letter followed by lowercase
letters, whereas acronyms and initialisms are written according to
their standard notation.
| Good:
| 'CurlResponse'
| 'HTTPStatusCode'
| Bad:
| 'curl_response'
| 'HttpStatusCode'
(Not that I really care but...)
Regards,
--
Guilliam Xavier