comp.lang.ada
 help / color / mirror / Atom feed
From: dewarr@my-dejanews.com
Subject: Re: Y2K Issues
Date: 1998/11/08
Date: 1998-11-08T00:00:00+00:00	[thread overview]
Message-ID: <7243c1$2db$1@nnrp1.dejanews.com> (raw)
In-Reply-To: F22tqs.3q@jvdsys.nextjk.stuyts.nl

In article <F22tqs.3q@jvdsys.nextjk.stuyts.nl>,
  jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk) wrote:
> Most financial software that I am aware of was at that
> time not
> written in COBOL but PL/1. One reason this is stil done
> is to take
> advantage of it's 22 digits accuracy.


Of course this statement may be true, but it simply means
that your experience was by no means representative. PL/1
even at its most successful point, never held a very large
share of the financial software market, and was always
hugely overshadowed by COBOL.

There are many reasons for writing in PL/1 rather than
COBOL, but in practice the difference between the 18 vs 22
digits of accuracy is not a very significant one, and of
course certainly not relevant to the subject material of
this post.

Of course PL/1 does have much better data abstraction than
COBOL, so one might hope that PL/1 programs would be less
sensitive to Y2K problems. Unfortunately, many PL/1
programs were written in COBOL style, and PL/1 goes out of
its way to accomodate this style (e.g. allowing completely
general use of anonymous types as in COBOL). Thus most PL/1
programs are in practice as bad as COBOL when it comes to
Y2K problems, at least that is my experience.

Language can make a difference, but often it is not *just*
the language, but the general style and approach of the
programmers in that language that is as significant. In the
case of Ada (let's get back on topic :-) it is most
certainly true that the data abstraction in Ada encourages
writing programs that are either less likely to have Y2K
problems in the first place, or be much easier to correct
if such problems exist. However, the important point is
that the Ada culture is such that programmers are likely to
take full advantage of these abstraction capabilities.
COBOL style code in PL/1 does not seem horrible at all,
COBOL style code in Ada would be rather disgusting (I am
talking now specifically about the style of data
declaration and data abstraction).

Robert Dewar

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




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

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-19  0:00 Y2K Issues John J Cupak Jr
1998-10-19  0:00 ` dewar
1998-10-19  0:00 ` Tucker Taft
1998-10-19  0:00   ` Joe Gwinn
1998-10-20  0:00     ` Joe Gwinn
1998-10-19  0:00 ` Niklas Holsti
     [not found] ` <362B8D2F.802F42E6@lmco.com>
1998-10-20  0:00   ` dennison
1998-10-23  0:00     ` Michael F Brenner
1998-10-20  0:00   ` Robert I. Eachus
1998-10-22  0:00     ` Mark Bennison
1998-10-22  0:00       ` dennison
1998-10-23  0:00         ` Robert I. Eachus
1998-10-25  0:00   ` Michael Feldman
1998-10-26  0:00     ` dennison
1998-10-27  0:00       ` dewarr
1998-10-27  0:00         ` Tucker Taft
1998-10-27  0:00           ` Y2K Issues (well, not really...) Dave Wood
1998-10-28  0:00           ` Y2K Issues dennison
1998-10-28  0:00             ` Dave Wood
1998-10-27  0:00         ` John Herro
1998-10-26  0:00     ` Robert A Duff
1998-10-26  0:00       ` Joel Seidman
1998-10-26  0:00         ` Y2K Issues - Warning Off-Topic Al Christians
1998-10-27  0:00       ` Y2K Issues dewarr
1998-10-27  0:00     ` dewarr
1998-10-29  0:00       ` system
1998-10-29  0:00         ` Al Christians
1998-11-02  0:00         ` Marin David Condic
1998-11-04  0:00           ` Robert I. Eachus
1998-11-05  0:00             ` dewarr
1998-11-06  0:00               ` Robert I. Eachus
1998-11-06  0:00               ` Jerry van Dijk
1998-11-07  0:00                 ` dewarr
1998-11-06  0:00                   ` Al Christians
1998-11-08  0:00                     ` Jerry van Dijk
1998-11-08  0:00                       ` dewarr [this message]
1998-10-27  0:00 ` Gautier de Montmollin
1998-10-28  0:00   ` dewar
1998-10-28  0:00     ` Gautier.DeMontmollin
1998-10-28  0:00       ` Jean-Pierre Rosen
1998-10-28  0:00         ` Robert I. Eachus
1998-10-29  0:00           ` Dale Stanbrough
1998-10-29  0:00             ` Samuel Mize
1998-10-29  0:00             ` Mark A Biggar
1998-10-29  0:00             ` Tucker Taft
1998-10-29  0:00               ` dewar
1998-10-29  0:00                 ` Tucker Taft
1998-10-30  0:00                   ` dennison
1998-10-31  0:00                     ` dewarr
1998-11-02  0:00                       ` dennison
1998-10-30  0:00                 ` Dale Stanbrough
1998-10-30  0:00                 ` Matthew Heaney
1998-10-31  0:00                   ` dewar
1998-10-28  0:00   ` adam
1998-10-28  0:00     ` Al Christians
1998-10-29  0:00     ` Samuel Mize
1998-11-04  0:00     ` Robert I. Eachus
1998-10-28  0:00   ` Arthur Evans Jr
1998-10-28  0:00   ` adam
1998-10-29  0:00     ` Gautier.DeMontmollin
  -- strict thread matches above, loose matches on Subject: below --
1998-10-23  0:00 Condic, Marin D.
replies disabled

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