Re: [CS] Naming Conventions (PHP5 OO)

From: Date: Wed, 16 Jun 2004 08:34:44 +0000
Subject: Re: [CS] Naming Conventions (PHP5 OO)
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30727@lists.php.net to get a copy of this message
Klaus Guenther wrote: >Firman Wandayandi wrote: > >>Hi All! >> >>There was already naming coventions for protected class members and another >>PHP5 OOP stuffs? or I missed something about that? If not, IMO we must do >>something right now. >> >>__someMethod already use by built-in PHP5 class method e.g __construct(), >>__autoload(), __call() etc. >> >> > >Yes, we are aware of those namespace limitations. That's one of the >reasons private and protected class members are prefixed with only a >single underscore (_). One reason they are prefixed is to enable faster >troubleshooting while reading the code. And imho that's sufficient >reason that the CS shouldn't change. Since when was it decided to prefix protected with an underscore ? I won't do that, even if it is a "CS". And BTW, can you stop touching our QuickForm bugs, unless it is for constructive reasons, like feedback or providing patches. Thanks in advance. Bertrand Mansion Mamasam

« previous php.pear.dev (#30727) next »