From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=BAYES_00,XPRIO autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Discriminants or Constructor Function for Limited Types Date: Mon, 9 May 2022 23:48:35 -0500 Organization: A noiseless patient Spider Message-ID: References: <0b4ddd38-1f19-44fe-acd9-43a316ec9d29n@googlegroups.com> Injection-Date: Tue, 10 May 2022 04:48:42 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="ca9563fe07eb388177968c066966b082"; logging-data="31440"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18GSWdSwskWhqU/CdoSlDWdIbZPm/Boha0=" Cancel-Lock: sha1:HGOHUrQNBKYQ2c2Idb+sByoU7gM= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 X-RFC2646: Format=Flowed; Response X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-Priority: 3 X-MSMail-Priority: Normal Xref: reader02.eternal-september.org comp.lang.ada:63839 List-Id: "Dmitry A. Kazakov" wrote in message news:t57vgs$4su$1@gioia.aioe.org... ... > No they do not. The goal is to eliminate non-functional states. Things > like closed file, uninitialized variable, null pointer etc are artifacts > of the design. There is nothing in the physical world that requires them. Most such things are artifacts of the target system. Closed files and closed windows happen because of events that occur outside of your program. You can't design them away. Randy.