Re: PEAR method naming/coding standards

From: Date: Tue, 12 Feb 2002 23:00:40 +0000
Subject: Re: PEAR method naming/coding standards
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-4662@lists.php.net to get a copy of this message
On Tue, 2002-02-12 at 17:06, Wolfram Kriesing wrote: > This might not be too important, but is there some common agreement > in PEAR if method names are singular or plural? > Since I18N_Messages is plural, but I18N_Paper is singular. I > experienced sticking to singular makes things easier, i dont have to > look up how the class name was, either "Messages" or "Message". > Even though it sometimes is strange using a class name such as > "Setting" instead of "Settings", but as i said i think it makes > things easier. IMHO singular is better, unless there is a good reason for using plural. - Stig

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