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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: What is your opinion on Global Objects? Date: Tue, 18 Nov 2014 11:23:50 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 18 Nov 2014 11:23:50 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="da745e888d4a5182b5fda6212bbb0a63"; logging-data="12687"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/SDFHeefqGnLCgGbmuHT9AJm47TH/KsUM=" User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Cancel-Lock: sha1:xS2QzOb6IovFfube3V6v+xu3El8= Xref: number.nntp.giganews.com comp.lang.ada:190824 Date: 2014-11-18T11:23:50+00:00 List-Id: On Mon, 17 Nov 2014 19:08:03 -0800, Hubert wrote: >> This is only a problem in poorly designed languages. In Ada these >> "singletons" >> should be packages. > What is the best way to access such an object Through the accessor subprograms supplied by the package. - Brian