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: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx28.iad.POSTED!not-for-mail From: Hubert User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: What is your opinion on Global Objects? References: <87wq6r33f7.fsf@adaheads.sparre-andersen.dk> In-Reply-To: <87wq6r33f7.fsf@adaheads.sparre-andersen.dk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 141119-1, 11/19/2014), Outbound message X-Antivirus-Status: Clean Message-ID: X-Complaints-To: abuse@newsdemon.com NNTP-Posting-Date: Thu, 20 Nov 2014 06:21:59 UTC Organization: http://www.NewsDemon.com Date: Wed, 19 Nov 2014 22:21:58 -0800 X-Received-Bytes: 1608 X-Received-Body-CRC: 857544010 Xref: news.eternal-september.org comp.lang.ada:23562 Date: 2014-11-19T22:21:58-08:00 List-Id: Yes, I guess if something like that is called by a module or subprogram, one has to make sure that this package is unit tested before the ones that use it are unit tested. I guess in the end there is no big difference whether you pass this sort of entity as a parameter or call it through these access functions. In the end, there are status variables maintained in a separate package, so I guess when you look at it this way, it doesn't really matter which way you chose, teh package must have been tested before it is used either way in other unit tests --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com