[QUANTITY] A project thats definitely worth a look for ideas..

Patrick Dowler patrick.dowler at nrc-cnrc.gc.ca
Tue Oct 28 12:16:25 PST 2003


On Tuesday 28 October 2003 05:26, Brian Thomas wrote:
> On Monday 27 October 2003 07:39 pm, Matthew Graham wrote:
> > http://nanotitan.com/software/Libraries/quantity/index.htm#openSOurce
> 	Unfortunately the basic API is combined with their 100 or so
> "extended" quantities
> 	so its not as easy to disentangle as it might be. Nevertheless a
> good read.


This is hat happens when you try to use the class hierarchy to contain 
(IMO) too much information. I would have thought that 10s to 100s of
subclasses, all in the same package, would alert them to a design choice
that may need some moderation. Basically, it looks like they flattened the 
various combinations of things into a really cumbersome class hierarchy.

OTOH, they were thorough!

-- 
Patrick Dowler
Tel/Tél: (250) 363-6914                  | fax/télécopieur: (250) 363-0045
Canadian Astronomy Data Centre   | Centre canadien de donnees astronomiques
National Research Council Canada | Conseil national de recherches Canada
Government of Canada                  | Gouvernement du Canada
5071 West Saanich Road               | 5071, chemin West Saanich
Victoria, BC                                  | Victoria (C.-B.)




More information about the dm mailing list