From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,de06245437f9462 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-19 00:47:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.cwix.com!newscon01.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr13.news.prodigy.com.POSTED!3bae8248!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Linked List in ada References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 64.175.243.238 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr13.news.prodigy.com 1024472791 ST000 64.175.243.238 (Wed, 19 Jun 2002 03:46:31 EDT) NNTP-Posting-Date: Wed, 19 Jun 2002 03:46:31 EDT Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: SCSYQN_@O@SIRQ@[ORHD]_\@VR]^@B@MCPWZKB]MPXHZUSAANVUEAE[YETZPIWWI[FCIZA^NBFXZ_D[BFNTCNVPDTNTKHWXKB@X^B_OCJLPZ@ET_O[G\XSG@E\G[ZKVLBL^CJINM@I_KVIOR\T_M_AW_M[_BWU_HFA_]@A_A^SGFAUDE_DFTMQPFWVW[QPJN Date: Wed, 19 Jun 2002 07:46:31 GMT Xref: archiver1.google.com comp.lang.ada:26360 Date: 2002-06-19T07:46:31+00:00 List-Id: > 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.