Re: Name for converter of units/currency

From: Date: Sun, 07 Jan 2001 19:27:20 +0000
Subject: Re: Name for converter of units/currency
Groups: php.pear 
Request: Send a blank email to php-pear+get-840@lists.php.net to get a copy of this message
Quoting jmh3@linuxfreak.com: > that was just the first example that popped into my head, and it's not the > only instance where it would be useful. it's up to you guys. when i think > of units it really doesnt matter what i am measureing-i usually normalize > everything and make it dimensionless anyway. it just seems silly to me to > stick all measurement forms into one class except monitary measurement. So, seperate it into Numbers/Currency.php for money, Numbers/Temperature.php for temperature, Numbers/Volume.php for volumes, Numbers/Distance.php for distances... That keeps the classnames a reasonable length, the classes a reasonable size, and breaks things down pretty well. -chuck -- Charles Hagenbuch, <chuck@horde.org> "If you can't stand the heat, get out of the chicken!" - Baby Blues

« previous php.pear (#840) next »