TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Chip Richards <[log in to unmask]>
Reply To:
Chip Richards <[log in to unmask]>
Tue, 18 Mar 1997 16:20:06 -0700
TEXT/PLAIN (23 lines)
On Tue, 18 Mar 1997, McDonough, Daniel Mr HQ/SAN wrote:

   This is exactly my point. One problem I have always had with my own
   code is running off the end of arrays. This usually caused the progam
   to blow up somewhere else. I used to get into endless change, compile,
   run, crash - damn - where is that bug? loops. Now, with Ada, I can squash
   that bug early. And many more besides...

This rings very true for me as well.  I usually have this experience when
programming in Ada:  Code, code, code, compile, oops.  Check the code, yup,
the compiler's right, I was about to bite my own leg off there.  Fix, compile,
test, oops again.  Oh, darn, I'm *always* screwing that sorta thing up! ...

And then it hits me ... what would I be doing at this point in the project if
I had been coding in C?  At least half the time, bugs that the compiler or
first round of run-time checks have caught were things that C would have
cheerfully allowed through the door.  About this time, I get a really sick,
queasy feeling.  *Some* of those bugs might have remained dormant and
undetected until delivery and beyond.  Ewwwwww!!