Re: Re: [PEPr] Call for votes on Web Services::Services_GeoNames

From: Date: Wed, 10 Dec 2008 18:42:20 +0000
Subject: Re: Re: [PEPr] Call for votes on Web Services::Services_GeoNames
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-51271@lists.php.net to get a copy of this message
Hello David, > >> That's said if there's some conscensus about exceptions codes > >> constants naming, I'll be ok to change their names, the package > >> being beta there will be bo BC worries. > > I'd like to have status of PEAR QA about this *class constants* > > usage but consider already that you've my vote +1 > Chuck pointed me to the actual specs for constants that recommends > prefixing them with the name of the package to uppercase: > http://pear.php.net/manual/en/standards.naming.php > > I think this does not make sense for class constants (it's quite > redundant to type Services_GeoNames::SERVICES_GEONAMES_SOME_CONSTANT). > I'd just remove the "E_" prefix. Those constant specs are for php4 packages which don't have class constants. In PHP5 of course you don't need prefixes. Using E_ as prefix is also not common in PEAR packages. -- Regards/Mit freundlichen Grüßen Christian Weiske -= Geeking around in the name of science since 1982 =-

Attachment: [application/pgp-signature] signature.asc
« previous php.pear.dev (#51271) next »