Re: [CFV] how to mark protected items?

From: Date: Tue, 22 Jun 2004 18:41:15 +0000
Subject: Re: [CFV] how to mark protected items?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-31097@lists.php.net to get a copy of this message
Justin Patrin wrote: >I am firmly in favor of _. It's *one more* character that makes the code >much more readable and understandable without having to always be >looking at the docs. Personally, these kidns of small hints make >reading, debugging, and writing code much more enjoyable. May I suggest 2 things: 1. Learn what protected means. 2. Start writing PHP5 code. At stage 2, you will notice that most of your variables will be protected. Then you will think "Wow, that's a lot of underscores !". Then, in your subclasses, you will start to ask yourself "Is this var protected or private, I can't remember". Bertrand Mansion Mamasam

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