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,751584f55705ddb7 X-Google-Attributes: gid103376,public From: ncohen@watson.ibm.com (Norman H. Cohen) Subject: Re: Ada is almost useless in embedded systems Date: 1996/02/21 Message-ID: <4gffuq$10f5@watnews1.watson.ibm.com>#1/1 X-Deja-AN: 140483832 distribution: world references: <823906039.22113@assen.demon.co.uk> <4fgrq3$mc4@qualcomm.com> <4g54r5$57j@toads.pgh.pa.us> <824760880.18193@assen.demon.co.uk> <4gechc$g26@goanna.cs.rmit.EDU.AU> organization: IBM T.J. Watson Research Center reply-to: ncohen@watson.ibm.com newsgroups: comp.lang.ada Date: 1996-02-21T00:00:00+00:00 List-Id: In article <4gechc$g26@goanna.cs.rmit.EDU.AU>, ok@goanna.cs.rmit.EDU.AU (Richard A. O'Keefe) writes: |> In defence of Lint, I have to say that all of the things it reports are |> likely symptoms of serious errors, and that it is next door to impossible |> to UNINTENTIONALLY ignore the serious errors. The only way you can ignore |> the serious errors is by not tracking down all the lint reports to see how |> serious they are. A typical experience with someone else's code might be |> - 16 000 lines of source code |> - 1 000 lines of lint warnings |> - 10 hours checking the lint warnings |> - 10 days fixing the serious bugs. |> Many categories of warnings can easily be switched off. |> |> There are two real problems with lint. You mean you don't consider the ten hours checking the lint warnings (let alone ten days fixing only the "serious" bugs) to be a "real problem"? Or did I miss your smiley? |> (1) The declarations of C do not provide enough information for really |> effective checking. (E.g. all integer types are compatible.) Indeed. |> (2) There are legions of C programmers who apply lint, if at all, far too |> late in the life cycle, after they have already populated their code |> with tons of lint. Not an option with Ada. You can't get a successful compilation until your code has been delinted. -- Norman H. Cohen ncohen@watson.ibm.com