Re: Coding standards
| From: | Erik Hjortsberg | Date: | Sun, 15 Jul 2001 15:07:28 +0000 |
| Subject: | Re: Coding standards | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-789@lists.php.net to get a copy of this message | ||
At 16:57 2001-07-15 +0200, you wrote:
Erik Hjortsberg wrote: Is there a reason for us not to make disinction between static and entity methods and between private and public methods? I find it very hard to look through the code to figure out which methods I can call when subclassing or using objects or using classes. I've always used capitals on static methods and underscore on private. Thus: function foo() -- public entity method function _foo() -- private entity method +1 nice convention function Foo() -- public static method function _Foo() -- private static method +0 (but probably don't want much this)Hmm, I don't undestand what you mean. /erik hjortsberg^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^