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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,79e55eadd97001c2 X-Google-Attributes: gid103376,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Compiler error messages Date: 1998/01/23 Message-ID: <1998Jan23.084801.1@eisner>#1/1 X-Deja-AN: 318602221 X-Nntp-Posting-Host: eisner.decus.org References: <01bd278c$bea48680$9dfc82c1@xhv46.dial.pipex.com> X-Trace: news.decus.org 885563285 28042 KILGALLEN [192.67.173.2] Organization: LJK Software Reply-To: Kilgallen@eisner.decus.org.nospam Newsgroups: comp.lang.ada Date: 1998-01-23T00:00:00+00:00 List-Id: In article <01bd278c$bea48680$9dfc82c1@xhv46.dial.pipex.com>, "Nick Roberts" writes: > I've been most interested in the thread about compiler error messages. > > Having used many many compilers (BASIC, PASCAL, C, Ada, and all sorts of > others) for many many years, I've come to the conclusion that, almost > always, the cleverer the compiler tries to be about error messages, the > less helpful it ends up being, in reality. > > Many is the time when a compiler has reported an error to me, most > elaborately and cleverly, and been completely and 100% wrong about the true > nature/source of the error. And boy does it make me spit. Hands up who > hasn't been infuriated by a 'smart' compiler producing reams of completely > spurious errors (after one legitimate one), presumably because the compiler > writer thought it would be really clever for the compiler to 'ignore' the > first error. I always prefer compilers which simply stop at the first > error. What a sad waste of effort. I have seen some compilers whch do a horrid job (DEC Scan and Bliss-32) and some which do a wonderful job (DEC Ada). I suppose this depends on what sort of errors one is making, but if I knew enough to categorize my errors, I wouldn't make them ! Larry Kilgallen