Re: [PEPr] Comment on RFC::RFC_PackageVariableNamingConvention
| From: | Ian Eure | Date: | Thu, 04 Aug 2005 19:20:36 +0000 |
| Subject: | Re: [PEPr] Comment on RFC::RFC_PackageVariableNamingConvention | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-39227@lists.php.net to get a copy of this message | ||
On Thursday 04 August 2005 12:14 pm, Clay Loveless wrote:
> Clay Loveless (http://pear.php.net/user/clay) has commented on the proposal
> for RFC::RFC_PackageVariableNamingConvention.
>
> Comment:
>
> The coding standards already define an underscore preference in its
> explanation of global variable names. There is no reason to confuse
> developers by recommending studlyCaps for variable naming within packages,
> but an underscore-style for global variables.
>
Globals are (or should be) used only internally, not as part of a public API.
I think it's clear that private vars don't fall under this proposal.
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]