Re: [PEPr] Comment on RFC::ProtectedMembers
| From: | Hans Lellelid | Date: | Sat, 26 Jun 2004 18:30:38 +0000 |
| Subject: | Re: [PEPr] Comment on RFC::ProtectedMembers | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31218@lists.php.net to get a copy of this message | ||
Pepr wrote:
Alexey Borzov (http://pear.php.net/user/avb) has commented on the proposal for RFC::ProtectedMembers. Comment: The RFC looks like an attempt to sneak the underscores in. The voting on pear-dev was against underscores, but less than +5. Now, if the proposal fails, we automatically get underscores. I suggest changing the rules as +1 *for* prefix, -1 against prefix. Thus Hungarian notation lovers will have to rally to vote, not the saner folk.Alexey has a good point. There is no good reason why '_' should be the default way to go for protected vars in PHP5, since protected vars are more like public from class inheritance perspective -- and user perspective is largely irrelevant since PHP5 won't allow them to be accessed from non-child classes. In short, I agree: better to have +1 vote for adding the '_'. HL