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/09
Date: 1996-11-09T00:00:00+00:00	[thread overview]
Message-ID: <dewar.847551252@merv> (raw)
In-Reply-To: 561dg9$h2g@news2.delphi.com


tmoran says

"  Extending the range of Year_Number with a compiler switch might or might
not be a good idea, but turning off constraint checking either locally
on calls to Split, Time_Of, "+", "-" etc with a Pragma, or globally with
a compiler switch, is what I had in mind.  (Obviously Split et al must be
coded to properly handle such shenanigans, but we're assuming here that
a vendor is specifically trying to allow extension of the usual range.)"


From bad to horrible :-)

The idea of encouraging people to write erroneous programs is truly a bad
one. Remember that pragma suppress does NOT, despite its name, promise
to suppress exceptions. It simply allows the compiler to assume that
the check in question will not be violated, i.e. that any program execution
containing a failure of the check is erroneous.

For a vendor to allow you to exceed the range of Year_Number in this manner
would to me be an extension of the language, and a highly undesirable one.

I will repeat my earlier position, the only thing that makes sense is to
have a separate package that provides an extended year range. if you really
want to get into the language extension business, you can have a switch
that substitutes this extended calendar for the regular one, but that
seems a poor choice to me, much better to just have a separate package
called Extended_Calendar, or somesuch.

(although I must say, I can't see this being at the top of any implementors
 priority list :-)





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

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-09  0:00 Software Engineering News Brief tmoran
1996-11-09  0:00 ` Robert Dewar [this message]
  -- 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-07  0:00 tmoran
1996-11-07  0:00 ` Robert Dewar
     [not found] <55t882$9m@news2.delphi.com>
1996-11-07  0:00 ` Robert Dewar
1996-11-05  0:00 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   ` Norman H. Cohen
1996-11-07  0:00   ` Robert Dewar
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
1996-11-25  0:00                 ` Paul Eggert
1996-11-18  0:00         ` Matt Kennel
1996-11-19  0:00           ` Martin Tom Brown
1996-11-19  0:00           ` Keith Thompson
1996-11-21  0:00   ` Robert I. Eachus
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