From: "Gautier Write-only-address" <gautier_niouzes@hotmail.com>
To: comp.lang.ada@ada.eu.org
Subject: Re: Another Idea for Ada 20XX
Date: Sun, 02 Dec 2001 21:24:09 +0000
Date: 2001-12-02T21:24:09+00:00 [thread overview]
Message-ID: <mailman.1007328304.17120.comp.lang.ada@ada.eu.org> (raw)
>Especially for Space programs between US and Europe this would
>be a *huge* benefit.
>Just declare :
>
>type Inchs is Distance unit x Meters;
>
>and the compiler will do all unit conversions for you.
>
>And of course :
>type Temperature is basic concept with basic unit Kelvin;
>type Celsius is Temperature unit 1 Kelvin + 273.15;
Why not - but the more subtle you design the unit management,
the more subtle the mistakes will be...
The choice of *one* unit system should be made *before* any
programming, otherwise you don't get out of problems.
And in some applications (scientific programming) you can forget
these amusements about units, there are just too many variables.
____________________________________________________________
Gautier -- http://www.mysunrise.ch/users/gdm/index.htm#Ada
NB: Do not answer to sender address, visit the Web site!
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
next reply other threads:[~2001-12-02 21:24 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-02 21:24 Gautier Write-only-address [this message]
2001-12-03 14:56 ` Another Idea for Ada 20XX Mark Lundquist
-- strict thread matches above, loose matches on Subject: below --
2001-12-02 19:51 Gautier Write-only-address
2001-12-02 22:36 ` James Rogers
2001-12-03 12:44 ` Marc A. Criley
2001-12-03 14:29 ` Larry Kilgallen
2001-12-04 0:25 ` Marc A. Criley
2001-12-04 1:40 ` Adrian Hoe
2001-12-04 1:56 ` Larry Kilgallen
2001-12-04 16:08 ` Wes Groleau
2001-12-04 17:48 ` Larry Kilgallen
2001-12-09 23:02 ` Nick Roberts
2001-12-10 16:22 ` Stephen Leake
2001-12-10 17:11 ` Wes Groleau
2001-12-10 20:30 ` Robert C. Leif, Ph.D.
2001-12-10 20:59 ` Wes Groleau
2001-12-10 17:09 ` Wes Groleau
2001-12-10 17:32 ` Larry Kilgallen
2001-12-04 19:59 ` Vincent Marciante
2001-12-04 20:20 ` Wes Groleau
2001-12-04 22:18 ` Matthew Heaney
2001-12-06 4:14 ` Richard Riehle
2001-12-06 17:39 ` Wes Groleau
2001-12-07 0:55 ` Adrian Hoe
2001-12-07 9:01 ` Dmitry A. Kazakov
2001-12-07 11:49 ` Tarjei T. Jensen
2001-12-03 14:56 ` Mark Lundquist
2001-12-06 15:27 ` Philip Anderson
2001-12-07 22:51 ` Mark Lundquist
2001-12-10 9:01 ` Dmitry A. Kazakov
2001-12-02 16:01 James Rogers
2001-12-02 16:38 ` Preben Randhol
2001-12-02 22:26 ` James Rogers
2001-12-02 21:19 ` Patrick Hohmeyer
2001-12-02 21:26 ` Lutz Donnerhacke
2001-12-02 23:49 ` Patrick Hohmeyer
2001-12-03 6:06 ` Wilhelm Spickermann
2001-12-03 8:58 ` Lutz Donnerhacke
2001-12-03 13:40 ` Thomas Koenig
2001-12-03 0:21 ` Robert C. Leif, Ph.D.
2001-12-03 0:35 ` Robert Dewar
2001-12-03 1:33 ` James Rogers
2001-12-03 12:34 ` Dirk Dickmanns
2001-12-03 14:56 ` Mark Lundquist
2001-12-03 15:12 ` Lutz Donnerhacke
2001-12-03 17:00 ` chris.danx
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox