[QUANTITY] Why quantities always have errors (Was: Re: [QUANTIT] Use-cases, role in larger scheme)
Brian Thomas
brian.thomas at gsfc.nasa.gov
Mon Nov 17 09:52:38 PST 2003
On Monday 17 November 2003 12:45 pm, DIDELON Pierre wrote:
> WHY?
> why trying to complicate the smallest and simplest things?
Why is this "complex"? Im trying to create a single interface, called
quantity. Surely that is simpler, no? Why are you allowing for
"sloppy" number handling without clearly labeling it as such.
> Why not admitting the co-existing of 2 classes, one using the other?
I have allowed the user to do so, if they wish. I dont see your complaint here.
> Why not let the one who want to play without error to do so?
I have also allowed this too. Just use the "parameter" class as I
defined, an the user (programmer) never has to worry about putting
in an error (because he cant, its 'hard wired' into the class).
I dont see how being explicit about the errors via the classes you
choose to use as a programmer is a bad thing, or how it creates an
undo burden (or any burden at all) on the programmer.
Whats the difficultly in my solution? I really don't understand your
point. Its pretty straitforward and good programming practice and
scientifically accurate.
-b.t.
--
* Dr. Brian Thomas
* Code 630.1
* Goddard Space Flight Center NASA
* fax: (301) 286-1775
* phone: (301) 286-6128
More information about the dm
mailing list