Re: CS Clarifications

From: Date: Fri, 24 Sep 2004 11:06:27 +0000
Subject: Re: CS Clarifications
References: 1  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-1876@lists.php.net to get a copy of this message
On Fri Sep 24, 2004 at 05:4421AM -0500, Richard York wrote: > I have an open bug complaining about my use of static notation > internally in Mail_IMAP, that is > > Mail_IMAP::connect(...) > > /within/ the object. It has been my philosophy to use static notation > rather than "$this->" in the object to make it more obvious which class > a method resides in. I don't see a problem with this. > 2nd question, I saw someone complained in a proposal for use of boolean > false in all uppercase, e.g. FALSE. I looked through the CS and could > not locate anything about this either. Is there an official position? > For some reason I thought these were supposed to be in uppercase. There is no defintive rule concerning this, but if you browse through the code examples in the Coding Standards, you'll notice that true/false is used everywhere. Consider this a standard :-). -- - Martin Martin Jansen http://martinjansen.com/

« previous php.pear.qa (#1876) next »