Re: "Namespaces in bundled extensions" and iterable additions to the standard library

From: Date: Wed, 02 Jun 2021 07:57:32 +0000
Subject: Re: "Namespaces in bundled extensions" and iterable additions to the standard library
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-114689@lists.php.net to get a copy of this message
On 02/06/2021 02:30, tyson andre wrote:
- Did anyone have feedback on whether iterable\ or Iterable\ makes more sense - Personally, iterable\ seems like it should be an exception due to it also being used as a soft reserved keyword that is typically lowercase.
To me, a lower-case namespace like "iterable" just looks wrong, because I'm so used to namespaces, like classes, being UpperCamels. The connection to a keyword doesn't seem convincing to me - if anything, it highlights the possible confusion from choosing a namespace name that has a different meaning elsewhere, although I admit no brilliant alternatives spring to mind. Regards, -- Rowan Tommins [IMSoP]

« previous php.internals (#114689) next »