comp.lang.ada
 help / color / mirror / Atom feed
From: gdemont@my-deja.com
Subject: Re: Bit manipulation
Date: 2000/11/09
Date: 2000-11-09T00:00:00+00:00	[thread overview]
Message-ID: <8ue26u$i3s$1@nnrp1.deja.com> (raw)
In-Reply-To: 8uda93$5o$1@nnrp1.deja.com


> > programming; therefore hiding the availability of modular
> types
> > _is_ a disservice.
>
> I simply disagree, I am talking about lots of code that I
> see written by professional programmers who do not understand
> how to do things in Ada. One of the functions of CLA should
> be to try to show people how things are done in Ada.

The best way would be to write that there are such and such
ways, and, as you wrote, ask for details about the problem
to implement. Of course, also say that such method is safer
than such one which is maybe faster to program. But concealing
a feature for moral reasons is a big disservice to the language,
doubly: 1) it make believe (here) that C is necessary for low-level
elementary operations; 2) the interfacing is always fragile
and make ask: "finally, why did we code the rest in Ada ?".

> The idea that being an adult guarantees that people know
> what they are doing, and that they know the right semantic
> level to frame their questions at, is misguided.

I did not mean that if they are adults, they are good programmers.
Simply, a mediocre programming will be at least much more reliable
(if not safe) in Ada. In various Ada forums/lists, I see sometimes
a part of code coming even from "safety-critical" area, where
the guy believes that a feature (typically modular types) doesn't
exist in Ada, then uses unchecked_conversion on pointers and/or
a complicated interface with a "@a#$s++{--x;{}}" - like piece of C.
In addition, the code doesn't work and the guy concludes that Ada
is really useless (instead of seeing that _he_ is hopeless ;-).

G.


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-11-09  0:00 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-07  0:00 Bit manipulation Sandro Binetti
2000-11-07  0:00 ` Larry Kilgallen
2000-11-07  0:00   ` John English
2000-11-08  0:00   ` gdemont
2000-11-08  0:00     ` Robert Dewar
2000-11-08  0:00       ` Sandro Binetti
2000-11-08  0:00         ` gdemont
2000-11-09  4:00           ` Ken Garlington
2000-11-09  0:00             ` Larry Kilgallen
2000-11-09  0:00               ` Ken Garlington
2000-11-08  0:00         ` Nicolas Brunot
2000-11-08  0:00         ` Dale Stanbrough
2000-11-09  0:00           ` Sandro Binetti
2000-11-09  0:00             ` Ken Garlington
2000-11-09  0:00             ` gdemont
2000-11-10  0:00             ` Scott Ingram
2000-11-09  3:59         ` Ken Garlington
2000-11-09  4:52         ` Robert Dewar
2000-11-08  0:00       ` gdemont
2000-11-08  0:00         ` Larry Kilgallen
2000-11-09  4:50           ` Robert Dewar
2000-11-10  0:00             ` Lao Xiao Hai
2000-11-09  4:47         ` Robert Dewar
2000-11-09  0:00           ` gdemont [this message]
2000-11-11  0:00       ` Redryder
2000-11-11  0:00         ` Jeff Carter
2000-11-11  0:00           ` Redryder
2000-11-12  2:07             ` Ken Garlington
2000-11-12  5:56             ` Jeff Carter
2000-11-12  0:00               ` Robert Dewar
2000-11-12  0:00                 ` tmoran
2000-11-13  0:00                   ` Robert Dewar
2000-11-14  0:00                     ` Marc A. Criley
2000-11-13  0:54                   ` Ken Garlington
2000-11-12  6:40               ` tmoran
2000-11-13  0:00         ` Lutz Donnerhacke
2000-11-13  0:00           ` Robert Dewar
2000-11-13  0:00             ` Lutz Donnerhacke
2000-11-13  0:00               ` Robert Dewar
2000-11-13  0:00                 ` Lutz Donnerhacke
2000-11-13  0:00                   ` Pat Rogers
2000-11-13  0:00                     ` Brian Rogoff
2000-11-13  0:00                       ` Pat Rogers
2000-11-13  0:00                       ` F. Britt Snodgrass
2000-11-15  0:00                         ` Lutz Donnerhacke
2000-11-14  0:00                       ` Georg Bauhaus
2000-11-15  0:00                         ` Lutz Donnerhacke
2000-11-14  0:00                   ` Martin Dowie
2000-11-15  0:00                     ` Lutz Donnerhacke
2000-11-20  0:00                 ` Randy Brukardt
2000-11-21  0:00                   ` Lutz Donnerhacke
2000-11-21  0:00                     ` Stephen Leake
2000-11-22  0:00                       ` Lutz Donnerhacke
2000-11-13  0:00           ` Robert Dewar
2000-11-13  0:00             ` Lutz Donnerhacke
2000-11-13  0:00               ` Robert Dewar
2000-11-13  0:00                 ` Lutz Donnerhacke
2000-11-08  7:18   ` Sandro Binetti
2000-11-07  0:00 ` gdemont
2000-11-08  7:22   ` Sandro Binetti
2000-11-10  7:24 ` Thank you all for your contribution ! Sandro Binetti
  -- strict thread matches above, loose matches on Subject: below --
2005-02-07 12:37 Bit manipulation Maurizio
2005-02-07 13:20 ` Martin Krischik
2005-02-07 15:32 ` Martin Dowie
2005-02-07 18:04   ` Martin Krischik
2005-02-08  0:32 ` Randy Brukardt
2005-02-08  3:11 ` Steve
2005-02-08 18:51   ` tmoran
1999-04-04  0:00 bit manipulation Jack Chow
1999-04-04  0:00 ` Matthew Heaney
1999-04-05  0:00 ` dennison
replies disabled

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