comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Linked List in ada
Date: Wed, 19 Jun 2002 07:46:31 GMT
Date: 2002-06-19T07:46:31+00:00	[thread overview]
Message-ID: <rFWP8.1046$ER6.90998959@newssvr13.news.prodigy.com> (raw)
In-Reply-To: B0VP8.31233$9b.3950675@typhoon.austin.rr.com

> Well, i haven't tried to compile it yet. I am anti error msgs :)
  You need to get your mind turned around.  An Ada compiler is not
just a necessary step to producing machine code, it's an assistant
helping you avoid error and get your program right.  Think of
every compiler error message as a run-time error avoided.  Sometimes
the compiler does seem just picky - "of course I *meant* an
assignment statement there, not an equality test, stupid compiler",
but other times you'll say, "oops, you're right.  I didn't really
mean to increment the counter by q, I meant to increment by q.x".
And sometimes you'll think the compiler is being terribly obstructionist
and refusing all variants of what you want to do.  In that situation,
sit back and think and you'll probably find that what you were trying
to do was fundamentally a bad idea and you should be doing it some
other way entirely.  You need to think of the Ada compiler as your
helper, and the only way it can talk to you is via "error" messages.



  reply	other threads:[~2002-06-19  7:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-18 23:21 Linked List in ada kaak
2002-06-19  0:50 ` tmoran
2002-06-19  5:54   ` kaak
2002-06-19  7:46     ` tmoran [this message]
2002-06-19 16:10       ` Mark Johnson
2002-06-20  1:58     ` SteveD
2002-06-20  6:50       ` Adrian Hoe
2002-06-19  2:39 ` SteveD
2002-06-19  5:53   ` kaak
replies disabled

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