comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@world.std.com>
Subject: Re: Confusing language, was Re: Help help.. please.i am totaly new in ada programing
Date: 1999/11/11
Date: 1999-11-11T00:00:00+00:00	[thread overview]
Message-ID: <wcc4ses3kmn.fsf@world.std.com> (raw)
In-Reply-To: 80djdu$491$1@nnrp1.deja.com

Robert Dewar <robert_dewar@my-deja.com> writes:

> 
> In article <wcc90462gqw.fsf@world.std.com>,
>   Robert A Duff <bobduff@world.std.com> wrote:
> > Still, you (and Robert Dewar) now blame it on deficiencies of
> > COBOL, which is quite fair.
> 
> No, we did not say it was a deficiency, to make such a claim
> indicates a lack of knowledge of COBOL and how it is used.

OK, you didn't say it was a deficiency, but I still think it *is* a
deficiency.  It's not *always* true that people who disagree with you
lack your knowledge -- sometimes they disagree for other reasons.  ;-)

> A fundamental principle of COBOL, not present in other
> languages, is that data is represented the same externally
> and internally and is fully portable. This leads directly to
> the character model of data.

I disagree.  It is possible to define a binary representation that is
still standard and portable.  So the fact that COBOL forces an unwelcome
choice between portability and efficiency, seems like a flaw to me.
Especially when, as you say, memory was 100,000 times more expensive.

>... This is not a deficiency, just
> a design decision with advantages and disadvantages. But once
> you have data in this form, it definitely is the case that
> 4-digit years will take up more expensive core memory than
> 2-digit years.
> 
> Note as a contrast Ada's view of how to store dates, which is
> completely hidden from the programmer. If you instantiate
> sequential I/O for a type with Calendar.Time in it, you get
> a tape full of highly implementation dependent data, something
> that one avoids like the plague in the COBOL world.

Right, and that's a flaw in Ada.  Ever since Ada 95 was standardized,
I've been thinking we made a big mistake: we should have made the
streams stuff portable.  Data portability seems like it's even more
important in these network times, than it was when COBOL was designed.

> The importance of data representation consistency in the COBOL
> world is so high that no compiler is viable unless it is bit
> compatible in data representation with standard IBM compilers,
> including the ability to use EBCDIC to represent character data.
> COBOL goes much further than Ada in worrying about *data*
> compatibility. For example, the standard stream data in Ada is
> nowhere near being portable!

Right, and I think that's bad.

- Bob




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

Thread overview: 128+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-29  0:00 Help help.. please.i am totaly new in ada programing vico
1999-10-29  0:00 ` Matthew Heaney
1999-10-29  0:00   ` David Botton
1999-10-29  0:00   ` Gautier
1999-10-29  0:00     ` Tucker Taft
1999-10-29  0:00       ` Jean-Pierre Rosen
1999-10-29  0:00     ` Matthew Heaney
1999-10-30  0:00       ` Dave Taylor
1999-10-30  0:00         ` gnat on macintosh James E. Hopper
1999-10-30  0:00           ` Larry Kilgallen
1999-10-30  0:00             ` James E. Hopper
1999-10-31  0:00       ` Help help.. please.i am totaly new in ada programing Robert Dewar
1999-10-30  0:00     ` Siow Wey Hua
1999-10-29  0:00       ` Matthew Heaney
1999-10-29  0:00       ` David Starner
1999-10-31  0:00         ` Robert Dewar
1999-10-31  0:00       ` Robert Dewar
1999-10-31  0:00     ` Robert Dewar
1999-11-01  0:00       ` Gautier
1999-11-02  0:00         ` Robert Dewar
1999-11-02  0:00           ` Gautier
1999-11-02  0:00             ` Robert Dewar
1999-11-02  0:00               ` Gautier
1999-11-02  0:00               ` Ted Dennison
1999-11-02  0:00                 ` Robert Dewar
1999-11-02  0:00                   ` Ted Dennison
1999-11-03  0:00                   ` Larry Kilgallen
1999-11-03  0:00                     ` Robert Dewar
1999-11-03  0:00                       ` Larry Kilgallen
1999-11-03  0:00                         ` Robert Dewar
1999-11-03  0:00               ` Aidan Skinner
1999-11-03  0:00                 ` Robert Dewar
1999-11-02  0:00             ` Robert Dewar
1999-11-02  0:00               ` tmoran
1999-11-02  0:00                 ` Robert Dewar
1999-11-03  0:00                   ` tmoran
1999-11-03  0:00                     ` Georg Bauhaus
1999-11-03  0:00                       ` tmoran
1999-11-03  0:00                         ` Robert Dewar
1999-11-04  0:00                           ` tmoran
1999-11-04  0:00                             ` Charles Hixson
1999-11-04  0:00                               ` tmoran
1999-11-05  0:00                                 ` Robert Dewar
1999-11-08  0:00                                 ` Georg Bauhaus
1999-11-08  0:00                                   ` Robert Dewar
1999-11-05  0:00                             ` Robert Dewar
1999-11-04  0:00                         ` Georg Bauhaus
1999-11-03  0:00                     ` Preben Randhol
1999-11-03  0:00                       ` Robert Dewar
1999-11-03  0:00                         ` Confusing language, was " tmoran
1999-11-03  0:00                           ` Robert Dewar
1999-11-04  0:00                             ` tmoran
1999-11-04  0:00                               ` Ted Dennison
1999-11-04  0:00                               ` David Starner
1999-11-04  0:00                                 ` tmoran
1999-11-04  0:00                                   ` Aidan Skinner
1999-11-05  0:00                                     ` Craig Spannring
1999-11-05  0:00                                       ` Stefan Skoglund
1999-11-06  0:00                                         ` Robert Dewar
1999-11-05  0:00                                       ` Robert Dewar
1999-11-04  0:00                                   ` Hyman Rosen
1999-11-04  0:00                                   ` David Starner
1999-11-05  0:00                                   ` Robert Dewar
1999-11-09  0:00                                   ` Robert A Duff
1999-11-10  0:00                                     ` tmoran
1999-11-05  0:00                               ` Stefan Skoglund
1999-11-06  0:00                                 ` tmoran
1999-11-06  0:00                                   ` Robert Dewar
1999-11-08  0:00                                 ` Tarjei Jensen
1999-11-08  0:00                                   ` Robert Dewar
1999-11-09  0:00                                     ` Tarjei Jensen
1999-11-09  0:00                                       ` Y2K liability, was " tmoran
1999-11-09  0:00                                       ` Robert Dewar
1999-11-08  0:00                                   ` Robert Dewar
1999-11-08  0:00                                     ` Marin Condic
1999-11-08  0:00                                       ` Ehud Lamm
1999-11-09  0:00                                         ` Robert I. Eachus
1999-11-09  0:00                                           ` Ehud Lamm
1999-11-09  0:00                                       ` Robert A Duff
1999-11-09  0:00                                         ` Robert Dewar
1999-11-09  0:00                                         ` Marin Condic
1999-11-09  0:00                                           ` Richard D Riehle
1999-11-10  0:00                                             ` Robert A Duff
1999-11-10  0:00                                               ` Richard D Riehle
1999-11-11  0:00                                                 ` Robert Dewar
1999-11-11  0:00                                                   ` Robert A Duff
1999-11-11  0:00                                                 ` Robert Dewar
1999-11-11  0:00                                                   ` Robert A Duff
1999-11-11  0:00                                               ` Robert Dewar
1999-11-11  0:00                                                 ` Marin Condic
1999-11-12  0:00                                                   ` Robert Dewar
1999-11-12  0:00                                                     ` Marin Condic
1999-11-13  0:00                                                       ` Robert Dewar
1999-11-12  0:00                                                     ` Marin Condic
1999-11-19  0:00                                                     ` GNAT.Calendar (was: Re: Confusing language, was Re: Help help.. please.i am totaly new in ada programing) Mario Amado Alves
1999-11-19  0:00                                                       ` Robert Dewar
1999-11-12  0:00                                                 ` Confusing language, was Re: Help help.. please.i am totaly new in ada programing Robert I. Eachus
1999-11-12  0:00                                                   ` Marin Condic
1999-11-13  0:00                                                   ` Robert Dewar
1999-11-13  0:00                                                     ` Nick Roberts
1999-11-15  0:00                                                       ` Samuel T. Harris
1999-11-15  0:00                                                     ` Ted Dennison
1999-11-15  0:00                                                       ` Robert Dewar
1999-11-11  0:00                                               ` Robert Dewar
1999-11-11  0:00                                                 ` Robert A Duff [this message]
1999-11-12  0:00                                                   ` Robert Dewar
1999-11-10  0:00                                           ` Confusing language etc Nick Roberts
1999-11-11  0:00                                             ` Robert Dewar
1999-11-04  0:00                             ` Confusing language, was Re: Help help.. please.i am totaly new in ada programing Richard D Riehle
1999-11-05  0:00                               ` Robert Dewar
1999-11-05  0:00                         ` Stefan Skoglund
1999-11-05  0:00                           ` Larry Kilgallen
1999-11-03  0:00                     ` Robert Dewar
1999-11-03  0:00                       ` Georg Bauhaus
1999-11-03  0:00                         ` Robert Dewar
1999-11-04  0:00                           ` Georg Bauhaus
1999-11-05  0:00                             ` Stefan Skoglund
1999-11-04  0:00                       ` Stanley R. Allen
1999-11-05  0:00                         ` Stefan Skoglund
     [not found]                     ` <01bf25cc$5d390fc0$022a6282@dieppe>
1999-11-03  0:00                       ` Georg Bauhaus
1999-11-04  0:00                         ` David Botton
1999-11-02  0:00           ` Ted Dennison
1999-11-02  0:00             ` Aidan Skinner
1999-11-03  0:00               ` Robert Dewar
1999-11-02  0:00             ` Robert Dewar
1999-11-02  0:00               ` Ted Dennison
1999-11-03  0:00             ` Free Software -- was, " Richard D Riehle
1999-11-01  0:00       ` Tucker Taft
replies disabled

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