Re: [CFV] how to mark protected items?

From: Date: Tue, 22 Jun 2004 19:21:53 +0000
Subject: Re: [CFV] how to mark protected items?
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-31103@lists.php.net to get a copy of this message
On Tue, Jun 22, 2004 at 03:18:34PM -0400, Hans Lellelid wrote: > > ... but if you didn't have the '_' you would just know that the var > was protected or public and hence your subclass was welcome to use it. Sure, my class is welcome to use it. But the code written by someone using the package is not. > PHP5 code you will realize that all your vars are protected or private Says who? > If the answer is always supposed to be "think!" then why are we > discussing putting anything on the beginning of var names? The question, as I mentioned above, is who's supposed to be thinking here? I'm more concerned with the end users than the PEAR programmers. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

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