comp.lang.ada
 help / color / mirror / Atom feed
From: Lionel.DRAGHI@fr.thalesgroup.com
To: comp.lang.ada@ada.eu.org
Subject: RE: Using Ada for device drivers? (Was: the Ada mandate, and why it collapsed and died)
Date: Fri, 2 May 2003 11:53:06 +0200
Date: 2003-05-02T11:53:06+02:00	[thread overview]
Message-ID: <mailman.14.1051869099.9816.comp.lang.ada@ada.eu.org> (raw)



| -----Message d'origine-----
| De: mcq95@earthlink.net [mailto:mcq95@earthlink.net]
...
| This is one of the biggest misconceptions about type-safety and the
| languages that utilize it: that its primary purpose is just to help
| avoid bugs.  (And this is a misconception held by many Ada programmers
| as well.)
....
| The proper definition of types for an application allows the embedding
| of vast quantities of information that is there just for the asking by
| the application.
Not just application, but also code reader.

...
|   type Altitude is digits 6.0 range -100.0 .. 50_000.0;
For me, the main point here in this declaration is to move more programmer's
knowledge into the code than possible in any other comparable language.
This knowledge will otherwise resides in the comments, or some doc, or just
nowhere.

In consequence:
- the language is able to provide usefull attributes,
- code readability improve,
- one will reduce documentation/comments, avoid incoherencies between those
and code, avoid knowledge vanishing when the coder leave your company, etc.
- and yes, an Ada compiler provides compilation/execution time checks that
other compiler can't provide, and this is in my opinion by far more usefull
than attributes. 
- etc.

Despite this, i agree with you that type compilation/execution time checks
are just the most visible consequence of the powerfull Ada typing.
When i hear an Ada programmer saying that "its primary purpose is just to
help avoid bugs", i suggest the more general "its primary purpose is to
reduce development cost", and let's go for discussion! 

-- 
Lionel Draghi



             reply	other threads:[~2003-05-02  9:53 UTC|newest]

Thread overview: 186+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-02  9:53 Lionel.DRAGHI [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-25 14:26 Using Ada for device drivers? (Was: the Ada mandate, and why it collapsed and died) Lionel.DRAGHI
2003-04-23 12:24 the Ada mandate, and why it collapsed and died (was): 64 bit addressing and OOP soft-eng
2003-04-23 17:18 ` tmoran
2003-04-24 12:46   ` soft-eng
2003-04-24 13:04     ` Using Ada for device drivers? (Was: the Ada mandate, and why it collapsed and died) Jacob Sparre Andersen
2003-04-24 17:50       ` soft-eng
2003-04-24 18:37         ` tmoran
2003-04-24 19:11         ` Robert Spooner
2003-04-25 13:01           ` soft-eng
2003-04-25 14:02             ` Larry Kilgallen
2003-04-24 20:10         ` Larry Kilgallen
2003-04-25 17:22           ` soft-eng
2003-04-25 18:24             ` Chad R. Meiners
2003-04-24 23:30         ` Kaz Kylheku
2003-04-27  1:53           ` Frank J. Lhota
2003-04-25  7:46         ` Dmitry A. Kazakov
2003-04-30  3:09         ` Will
2003-04-30  6:13           ` John R. Strohm
2003-04-30 12:31             ` Will
2003-04-30 17:17               ` Chad R. Meiners
2003-05-01  3:37                 ` Will
2003-05-01  3:56                   ` Chad R. Meiners
2003-05-01 12:21                   ` Marin David Condic
2003-05-01 15:16                     ` Wesley Groleau
2003-05-02  4:15                     ` Will
2003-05-02 13:57                       ` Chad R. Meiners
2003-05-02 16:15                         ` Mark
2003-05-03  3:13                         ` Will
2003-05-03  4:24                           ` Chad R. Meiners
     [not found]               ` <fhm6o-3u2.ln1@beastie.ix.netcom.com>
2003-05-01 15:53                 ` Robert A Duff
2003-05-02  1:17               ` Richard Riehle
2003-04-30 16:35             ` Kaz Kylheku
2003-04-30 17:22               ` Frank J. Lhota
2003-05-01 19:03                 ` Kaz Kylheku
2003-05-02  8:26                   ` Dmitry A. Kazakov
2003-04-30 20:15               ` John R. Strohm
2003-05-01 14:21                 ` soft-eng
2003-05-01 15:22                   ` Wesley Groleau
2003-05-01 15:56                     ` Hyman Rosen
2003-05-02  3:15                       ` James S. Rogers
2003-05-02  3:24                       ` Wesley Groleau
2003-05-11 18:52                         ` Robert I. Eachus
2003-05-11 20:11                           ` Hyman Rosen
2003-05-11 21:09                             ` John R. Strohm
2003-05-11 23:43                               ` Hyman Rosen
2003-05-11 23:54                                 ` Bill Findlay
2003-05-12 17:23                                 ` Mike Silva
2003-05-12 18:20                                   ` Stephen Leake
2003-05-13 11:42                                   ` Marin David Condic
2003-05-15 18:18                                     ` Robert I. Eachus
2003-05-12 18:28                                 ` Larry Kilgallen
2003-05-11 21:57                             ` Robert I. Eachus
2003-05-12  0:06                               ` Hyman Rosen
2003-05-12  1:04                                 ` Robert I. Eachus
2003-05-12  3:53                                 ` Wesley Groleau
2003-05-11 23:33                             ` Wesley Groleau
2003-05-11 23:51                               ` Hyman Rosen
2003-05-12  8:40                                 ` Preben Randhol
     [not found]                               ` <bqj3p-t23.ln1@beastie.ix.netcom.com>
2003-05-12  5:04                                 ` Wesley Groleau
2003-05-11 23:50                             ` Bill Findlay
2003-05-12  8:18                             ` Preben Randhol
2003-05-11 21:07                           ` John R. Strohm
2003-05-12  0:49                             ` Robert I. Eachus
2003-05-12 18:23                               ` Stephen Leake
2003-05-14  5:00                                 ` Robert I. Eachus
2003-05-13  2:19                               ` John R. Strohm
2003-05-13  3:21                           ` Dr Chaos
2003-05-01 18:35                   ` Marc A. Criley
2003-05-01 20:49                     ` Robert A Duff
2003-05-02  1:27                     ` soft-eng
2003-05-02  3:05                       ` John R. Strohm
2003-05-02 13:07                         ` soft-eng
2003-05-02 13:14                           ` Martin Dowie
2003-05-02 14:23                           ` Chad R. Meiners
2003-05-02 17:27                           ` Richard Riehle
2003-05-02 21:20                           ` Tom Welsh
2003-05-04 13:09                             ` Bill Findlay
2003-05-03  4:09                           ` Dr Chaos
2003-05-02  3:30                       ` James S. Rogers
2003-05-02 13:16                         ` soft-eng
2003-05-02 14:28                           ` Chad R. Meiners
2003-05-02 17:35                           ` Richard Riehle
2003-05-02 21:23                           ` Tom Welsh
2003-05-02 22:18                           ` Jim Rogers
2003-05-03  4:07                             ` Dr Chaos
2003-05-06 13:21                             ` soft-eng
2003-05-06 19:03                               ` Jim Rogers
2003-05-07 13:04                                 ` soft-eng
2003-05-07 14:05                                   ` Preben Randhol
2003-05-07 17:29                                     ` soft-eng
2003-05-07 19:37                                       ` Mark Thornton
2003-05-08 13:48                                         ` soft-eng
2003-05-08 15:46                                           ` Thant Tessman
2003-05-09  3:37                                             ` Wesley Groleau
2003-05-09  7:23                                               ` Marshall Spight
2003-05-09 13:14                                                 ` soft-eng
2003-05-09 12:31                                               ` soft-eng
2003-05-10  4:57                                                 ` Tim Ottinger
2003-05-11 19:24                                                   ` Robert I. Eachus
2003-05-12  9:51                                                   ` Leif Roar Moldskred
2003-05-09 15:09                                               ` Thant Tessman
2003-05-07 22:58                                       ` Dr Chaos
2003-05-08 14:06                                         ` soft-eng
2003-05-08 17:57                                           ` Dr Chaos
2003-05-08 18:20                                           ` tmoran
2003-05-09 13:22                                             ` soft-eng
2003-05-11 20:12                                               ` Richard Riehle
2003-05-11 20:24                                                 ` Hyman Rosen
2003-05-08 23:16                                           ` John R. Strohm
2003-05-09 12:24                                             ` soft-eng
2003-05-09 16:03                                               ` John R. Strohm
2003-05-09 16:28                                                 ` John R. Strohm
2003-05-09 23:45                                                   ` soft-eng
2003-05-10  2:32                                                     ` John R. Strohm
2003-05-10  4:24                                                   ` Jim Weirich
2003-05-08 12:29                                       ` Marin David Condic
2003-05-08 20:22                                         ` soft-eng
2003-05-08 21:33                                           ` Robert A Duff
2003-05-08 23:21                                           ` John R. Strohm
2003-05-09  8:30                                           ` Tom Welsh
2003-05-09 13:18                                             ` soft-eng
2003-05-09 15:01                                               ` Tom Welsh
2003-05-09 23:41                                             ` Dr Chaos
2003-05-12 13:43                                               ` soft-eng
2003-05-13  3:25                                                 ` Dr Chaos
2003-05-13 17:30                                                   ` soft-eng
2003-05-13 22:19                                                     ` Dr Chaos
2003-05-14 12:53                                                       ` soft-eng
2003-05-14 14:55                                                         ` Preben Randhol
2003-05-14 22:56                                                           ` Thant Tessman
2003-05-13 10:36                                               ` Larry Kilgallen
     [not found]                                               ` <9fa75d42.03051205Followup-To: comp.lang.ada <zhA3ybPlX6cW@eisner.encompasserve.org>
2003-05-13 20:53                                                 ` Simon Wright
2003-05-08 14:34                                       ` Preben Randhol
2003-05-08 17:58                                         ` Dr Chaos
2003-05-07 16:33                                   ` Wesley Groleau
2003-05-07 18:48                                   ` Jim Rogers
2003-05-07 19:09                                   ` Gautier
2003-05-07 22:45                                   ` Dr Chaos
2003-05-02 12:57                       ` Marc A. Criley
2003-05-02 18:55                         ` Hyman Rosen
2003-05-09 14:57                           ` soft-eng
2003-05-09 15:44                             ` Hyman Rosen
2003-05-10 17:17                               ` soft-eng
2003-05-12  8:06                                 ` Preben Randhol
2003-05-12 13:48                                   ` soft-eng
2003-05-12 14:33                                     ` Preben Randhol
2003-05-08  5:14                       ` Gautier
2003-05-09 14:12                         ` soft-eng
2003-05-09 14:33                           ` Vinzent Hoefler
2003-05-09 14:38                           ` Frank J. Lhota
2003-05-09 16:09                           ` John R. Strohm
2003-05-09 23:49                             ` soft-eng
2003-05-10  2:44                               ` John R. Strohm
2003-05-11 20:59                                 ` Robert I. Eachus
2003-05-11 22:24                                   ` Shayne Wissler
2003-05-13  3:15                                 ` Dr Chaos
2003-05-13 14:29                                   ` Robert Spooner
2003-05-13 14:46                                     ` James S. Rogers
2003-05-10 10:49                               ` Dale Stanbrough
2003-05-09 16:23                           ` Wesley Groleau
2003-05-09 18:52                           ` Jim Rogers
2003-05-12  0:47                             ` Dave Thompson
2003-05-14  3:25                               ` Robert I. Eachus
2003-05-14  5:19                                 ` Preben Randhol
2003-05-22  6:30                                 ` Dave Thompson
2003-05-09 19:27                           ` Marc A. Criley
2003-05-10 14:09                             ` Marin David Condic
2003-05-10 17:37                               ` soft-eng
2003-05-10 18:00                                 ` Vinzent Hoefler
2003-05-09 22:32                           ` Gautier
2003-05-01 19:29                   ` Gautier
2003-05-09 13:36                     ` soft-eng
2003-05-09 16:14                       ` John R. Strohm
2003-05-09 17:46                       ` soft-eng
2003-05-10  8:40                         ` Preben Randhol
2003-05-10  8:30                       ` Preben Randhol
2003-05-10 17:35                         ` soft-eng
2003-05-12  8:16                           ` Preben Randhol
2003-05-01 19:44                   ` Dr Chaos
2003-05-02 12:29                   ` Marin David Condic
2003-05-09 17:37                     ` soft-eng
2003-05-10  6:56                       ` Tom Welsh
2003-05-10 14:51                         ` Marin David Condic
2003-05-10 17:27                         ` soft-eng
2003-05-11  1:36                           ` John R. Strohm
2003-05-11 22:13                           ` Robert I. Eachus
2003-05-12 13:51                             ` soft-eng
2003-05-10 14:36                       ` Marin David Condic
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox