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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,74b55538385b7366 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Ada safety road Was: Which is right ... Date: 1999/06/09 Message-ID: <7jlg6l$g6d$1@nnrp1.deja.com>#1/1 X-Deja-AN: 487430928 References: <928083159.436.79@news.remarQ.com> <928174549.336.98@news.remarQ.com> <7iuqkc$ln6$1@nnrp1.deja.com> <928529202.956.79@news.remarQ.com> <928569312.951.42@news.remarQ.com> <7jb1l9$694$1@nnrp1.deja.com> <928703068.617.98@news.remarQ.com> <1999Jun6.181633.1@eisner> X-Http-Proxy: 1.0 x33.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Wed Jun 09 10:38:13 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-06-09T00:00:00+00:00 List-Id: In article , Keith Thompson wrote: > This is why the authors of Ada (both 83 and 95) made such an > effort to minimize the number of cases where this can happen, > and to clearly document the cases that couldn't reasonably be > avoided. I think more could have been done, particularly in the area of uninitialized variables. For simple variables, I like the CDL approach which says that there must not exist any static paths through the program allowing a simple variable to be undefined (i.e. no ud chain can reach from a reference to a declaration with no initialization). This worked very well in CDL in practice (CDL = Koster's Compiler Definition Language). Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.