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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,803df5f3f60558d5 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: Uninitialized "out" parameters Date: 1996/07/23 Message-ID: #1/1 X-Deja-AN: 169644711 references: <31EEACDA.64880EEB@sage.inel.gov> <4stagp$3vg@mulga.cs.mu.OZ.AU> <4t1s3n$chv@goanna.cs.rmit.edu.au> organization: The World Public Access UNIX, Brookline, MA newsgroups: comp.lang.ada Date: 1996-07-23T00:00:00+00:00 List-Id: In article <4t1s3n$chv@goanna.cs.rmit.edu.au>, Richard A. O'Keefe wrote: >In my experience of marking student C programs, trying to use uninitialised >variables is the commonest non-syntactic error. This doesn't necessarily indicate a need for compile-time checks. It indicates a need for something -- possibly compile-time, possibly run-time, possibly some mixture. And you get the usual trade-offs among efficiency, early error detection, and flexibility. >... I have found the program >'lclint' _extremely_ useful when marking because it does a very good job of >noticing possible uninitialised variables. So why don't your students use lclint? - Bob