comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Software Engineering News Brief
Date: 1996/11/24
Date: 1996-11-24T00:00:00+00:00	[thread overview]
Message-ID: <dewar.848842033@merv> (raw)
In-Reply-To: 57916h$941$1@shade.twinsun.com


Paul Eggert says

"> To accept dates before the 18th century without comment or error,
> and then misinterpret them seems highly error prone.

On the contrary, I've helped write some applications where quietly
accepting pre-18th-century dates was precisely the right thing to do.
A calendar package should not presume to tell applications what the
proper range is -- it should support the calendar,
and let applications worry about data validity checking."



An exactly wrong argument, at least for the Ada design philosophy. You
are saying "let me do this, beause I have at least some applications
where it is what I want -- yes, I know that other applicatoins may be
surprised at the behavior, but so what -- programmers should be careful."

As I have said many times, I have no objection to a specialized calendar
package that provides so-called Gregorian dates back to 4004 BC if that
is what you want, and indeed why not spend your effort writing such a
package!

But to suggest that the standard built-in package have this kind of shaky
semantics, i.e. semantics that so obviously conflicts with one reasonable
expectation (i.e. if the Pilgrims landed on a certain date, that date
should correspond to what the package deals with) is a truly bad idea!





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

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-05  0:00 Software Engineering News Brief tmoran
1996-11-05  0:00 ` Robert Dewar
1996-11-07  0:00   ` Stefan.Landherr
1996-11-11  0:00     ` Robert Dewar
1996-11-05  0:00 ` jimgregg
1996-11-06  0:00 ` Tom Reid
1996-11-07  0:00   ` Robert Dewar
1996-11-07  0:00   ` Norman H. Cohen
1996-11-08  0:00   ` Robert I. Eachus
1996-11-09  0:00     ` Paul Eggert
1996-11-11  0:00       ` Norman H. Cohen
1996-11-16  0:00       ` Robert Dewar
1996-11-17  0:00         ` Fergus Henderson
1996-11-17  0:00           ` Robert Dewar
1996-11-17  0:00             ` Larry J. Elmore
1996-11-17  0:00               ` Robert Dewar
1996-11-18  0:00                 ` Keith Thompson
1996-11-18  0:00               ` Larry Kilgallen
1996-11-18  0:00                 ` Robert Rodgers
1996-11-18  0:00               ` Norman H. Cohen
1996-11-19  0:00                 ` Frank Manning
1996-11-18  0:00             ` Dave Sparks
1996-11-18  0:00             ` Mark A Biggar
1996-11-24  0:00             ` Paul Eggert
1996-11-24  0:00               ` Robert Dewar [this message]
1996-11-25  0:00                 ` Paul Eggert
1996-11-18  0:00         ` Matt Kennel
1996-11-19  0:00           ` Keith Thompson
1996-11-19  0:00           ` Martin Tom Brown
1996-11-21  0:00   ` Robert I. Eachus
  -- strict thread matches above, loose matches on Subject: below --
1996-11-12  0:00 Marin David Condic, 561.796.8997, M/S 731-93
1996-11-09  0:00 tmoran
1996-11-09  0:00 ` Robert Dewar
     [not found] <55t882$9m@news2.delphi.com>
1996-11-07  0:00 ` Robert Dewar
1996-11-07  0:00 tmoran
1996-11-07  0:00 ` Robert Dewar
1996-11-01  0:00 Software Engineering News
1996-11-01  0:00 ` Adam Beneschan
1996-11-05  0:00 ` David Bradley
1996-11-05  0:00   ` Larry Kilgallen
1996-11-05  0:00     ` Steve Jones - JON
1996-11-06  0:00   ` Ed Falis
1996-11-06  0:00 ` John Cosby
     [not found] ` <55rmsc$2ee$1@shade.twinsun.com>
1996-11-07  0:00   ` caip.rutgers.edu!halasz
replies disabled

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