TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: "Karl A. Nyberg" <[log in to unmask]>
Date: Tue, 18 Mar 1997 14:21:13 EST
Reply-To: "Karl A. Nyberg" <[log in to unmask]>
Parts/Attachments: text/plain (17 lines)
   Date:         Tue, 18 Mar 1997 13:15:00 -0700
   From: "McDonough, Daniel Mr HQ/SAN" <[log in to unmask]>

   Richard Riehle 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...

I believe this situation is an example of the principle of least surprise,
which I attribute to John Goodenough, but I could be wrong on both counts.

-- Karl --