From: "Pat Rogers" <progers@NOclasswideSPAM.com>
Subject: Re: Operators -> unit analysis
Date: 2000/01/05
Date: 2000-01-05T00:00:00+00:00 [thread overview]
Message-ID: <s774651qhu8159@corp.supernews.com> (raw)
In-Reply-To: 387383D0.4EA02E95@earthlink.net
Charles Hixson <charleshixsn@earthlink.net> wrote in message
news:387383D0.4EA02E95@earthlink.net...
<snip>
> And some good way to handle units. So that we could safely say things
like:
>
> speed := 37.miles / 1.5.hours;
> I'm not too pleased with the syntax, but the idea is there. Computer
> languages should make unit analysis easy! This is one of the
"promises" of
> abstract data types, but I don't feel that it's been truly fulfilled,
> largely because it's too difficult to use. Syntax is part of the
problem,
> and standard libraries are another part (or perhaps that one's been
solved,
> and I just don't know). But standard types should be defined for all
the
> standard metric units, and most of the more common English units, with
> conversion functions between them. I guess that the standard example
> package, Rational, is a good example of how it could be done, but
there is
> lots of detail work, and it needs to be standardized.
I have a facility somewhat like that on the "free code page" at my web
site:
http://www.classwide.com/products/freecode.htm
Look for the "dimensioned units" section (at the bottom).
--
Pat Rogers Training and Consulting in:
http://www.classwide.com Deadline Schedulability Analysis
progers@classwide.com Software Fault Tolerance
(281)648-3165 Real-Time/OO Languages
next prev parent reply other threads:[~2000-01-05 0:00 UTC|newest]
Thread overview: 77+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-23 0:00 Ada Brijesh
1999-12-23 0:00 ` Ada reason67
1999-12-23 0:00 ` Ada Robert Dewar
2000-01-03 0:00 ` Ada Terry Sikes
2000-01-03 0:00 ` Ada Hyman Rosen
2000-01-04 0:00 ` Ada Florian Weimer
2000-01-04 0:00 ` Ada Brian Rogoff
2000-01-04 0:00 ` Ada Hyman Rosen
2000-01-04 0:00 ` Ada Robert Dewar
2000-01-04 0:00 ` Ada Hyman Rosen
2000-01-04 0:00 ` Ada Robert A Duff
2000-01-04 0:00 ` Ada Hyman Rosen
2000-01-04 0:00 ` Ada Richard D Riehle
2000-01-04 0:00 ` Ada Hyman Rosen
2000-01-04 0:00 ` Ada Robert A Duff
2000-01-04 0:00 ` Ada Richard D Riehle
2000-01-04 0:00 ` Ada Terry Sikes
2000-01-05 0:00 ` Operators -> unit analysis Charles Hixson
2000-01-05 0:00 ` Hyman Rosen
2000-01-05 0:00 ` Matthew Heaney
2000-01-05 0:00 ` Pat Rogers [this message]
2000-01-05 0:00 ` Charles Hixson
2000-01-05 0:00 ` Ted Dennison
2000-01-06 0:00 ` Charles Hixson
2000-01-06 0:00 ` Samuel T. Harris
2000-01-07 0:00 ` Robert Dewar
2000-01-07 0:00 ` Ted Dennison
2000-01-07 0:00 ` Brian Rogoff
2000-01-07 0:00 ` Robert A Duff
2000-01-07 0:00 ` Matthew Heaney
2000-01-08 0:00 ` Robert Dewar
2000-01-08 0:00 ` Robert A Duff
2000-01-10 0:00 ` Operator precedence--was " Howard W. LUDWIG
2000-01-14 0:00 ` Mark A Biggar
2000-01-05 0:00 ` Matthew Heaney
2000-01-05 0:00 ` Charles Hixson
2000-01-06 0:00 ` Robert Dewar
2000-01-06 0:00 ` Terry Sikes
2000-01-06 0:00 ` Robert A Duff
2000-01-07 0:00 ` Terry Sikes
2000-01-07 0:00 ` Brian Rogoff
2000-01-07 0:00 ` Ted Dennison
2000-01-07 0:00 ` Tucker Taft
2000-01-08 0:00 ` Robert Dewar
2000-01-10 0:00 ` Tucker Taft
2000-01-10 0:00 ` Florian Weimer
2000-01-04 0:00 ` Ada Robert Dewar
2000-01-04 0:00 ` Ada Terry Sikes
2000-01-05 0:00 ` Ada Robert Dewar
2000-01-05 0:00 ` Ada Terry Sikes
2000-01-06 0:00 ` Ada Al Christians
2000-01-06 0:00 ` Ada Terry Sikes
2000-01-07 0:00 ` Ada Robert Dewar
1999-12-23 0:00 ` Ada Greg Martin
1999-12-23 0:00 ` Ada Jon Jensen
1999-12-23 0:00 ` Ada Robert Dewar
1999-12-23 0:00 ` Ada tmoran
1999-12-23 0:00 ` Ada Roger Racine
1999-12-28 0:00 ` Ada Marin D. Condic
1999-12-31 0:00 ` Ada Richard D Riehle
2000-01-02 0:00 ` Ada Marin D. Condic
2000-01-02 0:00 ` Ada Robert Dewar
2000-01-02 0:00 ` Ada Marin D. Condic
2000-01-03 0:00 ` Ada Robert Dewar
2000-01-03 0:00 ` Ada Marin D. Condic
2000-01-03 0:00 ` Ada Larry Kilgallen
2000-01-04 0:00 ` Ada Charles Hixson
2000-01-03 0:00 ` Ada Roger Racine
2000-01-03 0:00 ` Ada Ted Dennison
2000-01-13 0:00 ` Ada Magnus Alexandersson
2000-01-14 0:00 ` Ada Tarjei T. Jensen
2000-01-14 0:00 ` Ada Larry Kilgallen
2000-01-14 0:00 ` Ada Marin D. Condic
2000-01-14 0:00 ` Ada Magnus Alexandersson
2000-01-14 0:00 ` Ada Marin D. Condic
2000-01-13 0:00 ` Ada Magnus Alexandersson
-- strict thread matches above, loose matches on Subject: below --
2000-01-08 0:00 Operators -> Unit Analysis mfeldman
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox