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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,17e99293e94a7e6f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-01 01:54:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!news.xtra.co.nz!53ab2750!not-for-mail From: "AG" Newsgroups: comp.lang.ada References: Subject: Re: Another ammunition X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: Date: Wed, 1 Jan 2003 22:55:45 -0800 NNTP-Posting-Host: 219.88.61.208 X-Complaints-To: newsadmin@xtra.co.nz X-Trace: news.xtra.co.nz 1041414861 219.88.61.208 (Wed, 01 Jan 2003 22:54:21 NZDT) NNTP-Posting-Date: Wed, 01 Jan 2003 22:54:21 NZDT Organization: Xtra Xref: archiver1.google.com comp.lang.ada:32430 Date: 2003-01-01T22:55:45-08:00 List-Id: > Jean-Pierre Rosen wrote: > -ansi -Wall -pedantic -Wtraditional -Wpointer-arith -Wshadow > -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual > -Waggregate-return -Wmissing-declarations -Wnested-externs -Winline > -Werror -W > Forces you to fix the simple bugs to even get your code to compile > (leaving you to be more creative in creating tricky logic bugs). That's an interesting example. All those switches needed to force you to "fix the simple bugs"? How many people would you think would bother with all the switches? And not make a mistake of omitting one? Even more importantly, how do you know *you* haven't missed one or two? Sure, there are manuals (or are there? or are the manuals complete and up to date? etc etc) but even then, setting up all those switches is surely subject to human error. Isn't it better to just have all of that built right into the language which compiler is required to enforce?