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: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson) Subject: Re: Uninitialized "out" parameters Date: 1996/07/21 Message-ID: <4ssn9r$p6e@mulga.cs.mu.OZ.AU>#1/1 X-Deja-AN: 169295046 references: <4smh9i$gp5@krusty.irvine.com> <4smmhe$9cs@goanna.cs.rmit.edu.au> <4smo24$h25@krusty.irvine.com> <31EF9DFC.6FB4@csehp3.mdc.com> <4ss763$2aq@felix.seas.gwu.edu> organization: Comp Sci, University of Melbourne newsgroups: comp.lang.ada Date: 1996-07-21T00:00:00+00:00 List-Id: mfeldman@seas.gwu.edu (Michael Feldman) writes: >It _cannot_ be a compiler error, because in general it is undecidable >whether a variable is used before it is initialized. Sure it could be a compiler error. I know of at least one language for which that is the case, and there are probably others. (I'm not sure, but Java may be one of them?) Note that type correctness (defined in the dynamic sense) is also undecidable -- yet there are certainly *lots* of languages for which the compiler enforces type safety at compile time. -- Fergus Henderson | "I have always known that the pursuit WWW: | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.