comp.lang.ada
 help / color / mirror / Atom feed
From: <adaworks@sbcglobal.net>
Subject: Re: Ripple effect
Date: Sat, 09 Sep 2006 14:55:12 GMT
Date: 2006-09-09T14:55:12+00:00	[thread overview]
Message-ID: <kBAMg.17294$1f6.14528@newssvr27.news.prodigy.net> (raw)
In-Reply-To: upmdnWsSlagGjGPZnZ2dnUVZ_rudnZ2d@megapath.net


"Randy Brukardt" <randy@rrsoftware.com> wrote in message 
news:upmdnWsSlagGjGPZnZ2dnUVZ_rudnZ2d@megapath.net...
>
> Huh? I often check for unused with clauses in my programs - by hand, and
> generally not because of compiler warnings (although we get those, too). I
> often try to eliminate things that are used only once. I guess I'd agree
> more if you said "rarely" as opposed to "ever".
>
I recall an early DoD system programmed in Ada where the
dependency chart looked like a hairball.   The reason was that
all the with clauses were in the package specifications.

Sad to say, the compiler did not alert anyone to the problem
the way some compilers of today will.

Everytime any unit had to be compiled, all the packages in the
with clauses also had to be recompiled.  OK.  This was a silly
design.   But Ada was new and it took time to catch on the
fact that with clauses, when pushed down to the package
body would eliminate a lot of compilation time.   Eventually,
when somone figured out the usefulness of subunits, those
dependencies were often pushed down to that level.

Much of the grumbling about Ada, in those early days, was
due to the ignorance about just how it worked.   As people
discovered how to use it correctly, the programs got better
and better.  However, a lot of programmer got discouraged
because they never learned this lessons. And Ada got a lot
of bad press, not because of its own faults, but because of
the ignorance of the people trying to use it.  Some of this
ignorance persists even today.

Richard Riehle 





  parent reply	other threads:[~2006-09-09 14:55 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23 22:29 Ripple effect Jeffrey R. Carter
2006-08-24  9:21 ` Maciej Sobczak
2006-08-24 23:39   ` Jeffrey R. Carter
2006-08-25  7:03     ` Maciej Sobczak
2006-08-24 18:22 ` Adam Beneschan
2006-08-24 23:40   ` Jeffrey R. Carter
2006-09-04 13:52 ` Robert A Duff
2006-09-04 15:15   ` Jeffrey R. Carter
2006-09-04 18:06     ` Robert A Duff
2006-09-05  2:33       ` Jeffrey R. Carter
2006-09-05  7:23         ` Dmitry A. Kazakov
2006-09-05 16:28           ` Robert A Duff
2006-09-05 16:23         ` Robert A Duff
2006-09-05 21:36           ` Jeffrey R. Carter
2006-09-07 18:18             ` Robert A Duff
2006-09-08 22:02               ` Jeffrey R. Carter
2006-09-06  0:10           ` Randy Brukardt
2006-09-07 18:30             ` Robert A Duff
2006-09-07 21:21               ` Simon Wright
2006-09-08  2:08               ` Randy Brukardt
2006-09-09 14:55             ` adaworks [this message]
2006-09-05 23:52         ` Randy Brukardt
2006-09-07 19:09   ` Adam Beneschan
2006-09-07 19:21     ` Ed Falis
2006-09-07 19:46       ` Larry Kilgallen
2006-09-08 13:06         ` Ed Falis
replies disabled

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