Re: Name for converter of units/currency

From: Date: Sun, 07 Jan 2001 15:04:05 +0000
Subject: Re: Name for converter of units/currency
References: 1  Groups: php.pear 
Request: Send a blank email to php-pear+get-833@lists.php.net to get a copy of this message
On Sun, 7 Jan 2001, Adam Trachtenberg wrote: > On Sat, 6 Jan 2001, Chuck Hagenbuch wrote: > > > Well, I agree it should go in Numbers/. As for breaking it up, I can see it > > both ways. I think if the class isn't too huge, leaving things together is > > fine. But if the class gets large, it would make sense to split it up, and > > measurements versus currency is as good a way to do it as anything... splitting > > it into too many small parts could be as bad as one far too large file. > > I'm for splitting it up because I can't think of a time when I'd want to > /both/ convert from feet to meters /and/ from dollars to yen. I'd advocate > dividing things by use. have you ever purchased something in quantity? things are sold on a per volume, length, mass, power, etc. basis all of the time. i think an international commerce site would benifit from being able convert /both/ at the same time. john :wq > > -adam > > -- > / adam maccabee trachtenberg | visit college life online \ > \ adam@student.net | http://www.student.com / > > > -- > PHP Extension and Add-on Repository (PEAR) mailing list. > Documentation can be found at http://pear.php.net/doc/pear.html > To unsubscribe, e-mail: php-pear-unsubscribe@lists.php.net from the > mail address you subscribed with. >

« previous php.pear (#833) next »