Re: [CFV] how to mark protected items?

From: Date: Wed, 16 Jun 2004 22:53:11 +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-30827@lists.php.net to get a copy of this message
After a long and steamy debate in #pear, I'd like to change my vote. I think this should be PEPred - clearly there are a lot of different opinions. I think, obviously, methods and functions should be prefixed (or not prefixed) with the same thing, having two parts to this vote is silly. 1) How should protected components be marked? a) nothing "Aidan Lister" <aidan@php.net> wrote in message news:20040616092800.75574.qmail@pb1.pair.com... > 1) "How should protected properties (variables) be marked?" > b) preceeded by an underscore (eg $_someVar). > 2) "How should protected methods be marked?" > b) preceeded by an underscore (eg _someMethod()). > > > > "Daniel Convissor" <danielc@analysisandsolutions.com> wrote in message > news:20040616020725.GA2450@panix.com... > > Oh, and for heavens sake, don't cc me. Just reply to the list.

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