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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,839916f6ca3b6404 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 05 Mar 2009 14:57:11 +0100 From: Georg Bauhaus User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: not null References: <49ae93bc$0$31872$9b4e6d93@newsspool3.arcor-online.net> <761a4fb8-de91-43b3-b420-55dbc06a61e7@k9g2000prh.googlegroups.com> <75e0862b-cb8d-4f47-b55e-e2c6235997ea@n33g2000pri.googlegroups.com> In-Reply-To: <75e0862b-cb8d-4f47-b55e-e2c6235997ea@n33g2000pri.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <49afda38$0$31870$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 05 Mar 2009 14:57:12 CET NNTP-Posting-Host: fa2bf7b7.newsspool3.arcor-online.net X-Trace: DXC=C=<:nj9gRI7L2C_`koXfC5McF=Q^Z^V384Fo<]lROoR1^YC2XCjHcb9_D5OTc5[VN2;9OJDO8_SK6NSZ1n^B98i:ZbA8kReDe?5 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:3967 Date: 2009-03-05T14:57:12+01:00 List-Id: Adam Beneschan schrieb: > You could also make the "end of list" point to some special dummy > object. That would probably be better than forcing the list to be > circular, but again just as pointless. I believe my earlier comment, > that the same set of mistakes applies as to a language that involves > null reference, but the syntax of those mistakes is different, applies > to both of these "solutions". Or an Admin object pointing to itself or else to the real nodes that are end nodes if they point to themselves, ... etc., I'd guess. Where null values are probably inferior compared to special objects is when "null.all" yields an access error (at best; SEGFAULT or similar when checks have been suppressed). To me, this exception is from the set of most unspecific exceptions I can think of. I'd prefer something more specific, maybe related to tampering with the elements of the list, for example.