comp.lang.ada
 help / color / mirror / Atom feed
From: "Rego, P." <pvrego@gmail.com>
Subject: Re: Best representation for spares
Date: Sun, 16 Feb 2014 08:21:21 -0800 (PST)
Date: 2014-02-16T08:21:21-08:00	[thread overview]
Message-ID: <14d39e24-422d-4b1d-aeec-7100b6762a5f@googlegroups.com> (raw)
In-Reply-To: <wccvbwfjfs0.fsf@shell01.TheWorld.com>

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.

  reply	other threads:[~2014-02-16 16:21 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14  1:07 Best representation for spares Rego, P.
2014-02-14  9:19 ` Simon Wright
2014-02-15 16:06   ` Rego, P.
2014-02-15 17:49     ` Jeffrey Carter
2014-02-15 20:21       ` Rego, P.
2014-02-15 19:55     ` Niklas Holsti
2014-02-15 20:25       ` Rego, P.
2014-02-15 21:35         ` Rego, P.
2014-02-16 10:02           ` Niklas Holsti
2014-02-16 13:40             ` Rego, P.
2014-02-16 16:26               ` Rego, P.
2014-02-16 18:50                 ` Niklas Holsti
2014-02-16 16:33               ` Niklas Holsti
2014-02-16 12:10           ` Simon Wright
2014-02-16 13:43             ` Rego, P.
2014-02-16 14:25               ` Robert A Duff
2014-02-16 16:21                 ` Rego, P. [this message]
2014-02-15 21:41         ` Jeffrey Carter
2014-02-15 22:37           ` Rego, P.
2014-02-15 22:41             ` Rego, P.
2014-02-16  0:39             ` Jeffrey Carter
2014-02-16 12:06         ` Simon Wright
2014-02-16 13:45           ` Rego, P.
replies disabled

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