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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.67.3.34 with SMTP id bt2mr8860959pad.16.1392567682190; Sun, 16 Feb 2014 08:21:22 -0800 (PST) X-Received: by 10.182.246.133 with SMTP id xw5mr51760obc.14.1392567682068; Sun, 16 Feb 2014 08:21:22 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!uq10no23623826igb.0!news-out.google.com!h8ni12igy.0!nntp.google.com!uq10no23623812igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 16 Feb 2014 08:21:21 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=201.95.3.197; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu NNTP-Posting-Host: 201.95.3.197 References: <215f6df2-a7ec-42f4-ac82-656d5b12bf61@googlegroups.com> <8383f5d6-3f66-415b-ab3f-8801fa377a6b@googlegroups.com> <8200939f-9bbd-44dd-848c-00c663f37121@googlegroups.com> <1e41e2d6-7ff8-445d-9c14-14c49b244bcf@googlegroups.com> <06585673-8016-43fd-ba97-871192b88917@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <14d39e24-422d-4b1d-aeec-7100b6762a5f@googlegroups.com> Subject: Re: Best representation for spares From: "Rego, P." Injection-Date: Sun, 16 Feb 2014 16:21:22 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:18619 Date: 2014-02-16T08:21:21-08:00 List-Id: On Sunday, February 16, 2014 11:25:35 AM UTC-3, Robert A Duff wrote: > You are wrong to always believe in the compiler. In GNAT, and most > other compilers for Ada or any other language, a warning indicates > that something MIGHT be wrong, not that something definitely IS wrong. > You are smarter than the compiler (although perhaps not as detail > oriented). When you see a warning, you should inspect the code, and if > you think the code is correct, use pragma Warnings (Off, ...) to > suppress it, along with a comment explaining why. Don't write > less-elegant code just to make the compiler shut up. Ok. Good advice.