comp.lang.ada
 help / color / mirror / Atom feed
From: Charles Hixson <charleshixsn@earthlink.net>
Subject: Re: Ada Calendar oddity <was Re: C date package>
Date: 2000/05/12
Date: 2000-05-12T00:00:00+00:00	[thread overview]
Message-ID: <391C24CA.D9497E80@earthlink.net> (raw)
In-Reply-To: 391B1D0E.B49DB714@online.no

"Tarjei Tj�stheim Jensen" wrote:

> Charles Hixson wrote:
> >
> > This seems to imply the assumption that the database would not be implemented
> > in Ada.  For some purposes this is reasonable (SQL is frequently nice, and has
> > already been done).  For other purposes it doesn't seem reasonable at all.  If
> > I don't need a full relational database, why should I need to drag one along?
>
> 1. Because a full relational database is VERY nice to have and causes
> few surprises. It is not a matter of not needing one. It is a matter of
> not being able to use one.\

It's certainly nice for a programmer to have the choice of using a relational
database, but for many applications it is extreme overkill, and causes the
applications to bloat so much that more expensive hardware is required to run them.
Sometimes one even wants to store the data in a flat file, load it all into RAM at
program start, and then (maybe) write out any changes at the end.  Relational is
only one option.

> 2. The Ada type is simply not apropriate in this context. This is a
> typical DP application. When doing DP stuff, do it the way DP stuff
> should be done.

If you are talking about the predefined types, then sometimes yes, sometimes no.
But one can always choose to define a type appropriate to the problem at hand.
"Should" is, by definition, correct.  But I doubt that we are in agreement as to
what "the way DP stuff should be done" means.  I see this as very context dependent.

> 3. When implementing Ada support for the database one makes sure that
> one includes the proper date/time stuff into the support library.

If one is using a preexisting private library, then this is correct.  But different
applications have very different needs.  Sometimes the most important thing is that
they be cheap, portable, and small.  Basic ISAM will let one handle many things with
a lot less weight than a full RDBMS.  And a stand-alone executable file is sometimes
what one really wants.

> Greetings,





  reply	other threads:[~2000-05-12  0:00 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <l0313030eb53d1408aee7@[144.205.16.58]>
2000-05-09  0:00 ` C date package Geoff Bull
2000-05-09  0:00   ` Geoff Bull
2000-05-09  0:00     ` Robert Dewar
2000-05-10  0:00       ` Geoff Bull
2000-05-10  0:00         ` Robert Dewar
2000-05-10  0:00           ` Ada Calendar oddity <was Re: C date package> Preben Randhol
2000-05-10  0:00             ` Robert A Duff
2000-05-10  0:00               ` Preben Randhol
2000-05-10  0:00                 ` Charles Hixson
2000-05-11  0:00                   ` Geoff Bull
2000-05-11  0:00                     ` Charles Hixson
2000-05-12  0:00                       ` Geoff Bull
2000-05-17  0:00               ` Robert I. Eachus
2000-05-19  0:00                 ` Geoff Bull
2000-05-19  0:00                   ` Robert I. Eachus
2000-05-21  0:00                     ` Robert Dewar
2000-05-21  0:00                   ` Robert Dewar
     [not found]                     ` <392869F0.D88F056A@acenet.com.au>
2000-05-22  0:00                       ` Tarjei Tj�stheim Jensen
2000-05-27  0:00                         ` Reinert Korsnes
2000-05-27  0:00                           ` Tarjei Tj�stheim Jensen
2000-06-03  0:00                       ` Robert I. Eachus
2000-05-10  0:00             ` Tarjei Tj�stheim Jensen
2000-05-11  0:00               ` Geoff Bull
2000-05-11  0:00                 ` Gautier
2000-05-12  0:00                   ` Geoff Bull
2000-05-12  0:00                     ` Gautier
2000-05-11  0:00                       ` Al Christians
2000-05-11  0:00               ` Charles Hixson
2000-05-11  0:00                 ` Tarjei Tj�stheim Jensen
2000-05-12  0:00                   ` Charles Hixson [this message]
2000-05-12  0:00                     ` Tarjei Tj�stheim Jensen
2000-05-10  0:00           ` C date package Geoff Bull
2000-05-10  0:00           ` Ken Garlington
2000-05-10  0:00             ` Geoff Bull
replies disabled

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