From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: General circular buffer example not tied to any specific type Date: Mon, 6 Jul 2020 10:58:49 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <6ca9747e-698f-4d60-8e23-b883da5d9f38o@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 6 Jul 2020 08:58:49 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="9886e494f5f3cf2a7572497f0e59b584"; logging-data="29138"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/v0msQws/QQIncSMee3LSOAtiF/XQ4CWg=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cancel-Lock: sha1:7DAg+LrFCjo2Lojr4NK3sHz3cag= In-Reply-To: Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:59359 List-Id: On 7/6/20 10:11 AM, Simon Wright wrote: > > Any *definite* type. I don't remember whether that would suit the > original requirement in this thread. I don't think "requirement" applies. "Circular buffer of untyped values" is at best a design decision. Trying to bypass the type system is usually an indication of a design problem, in my experience. -- Jeff Carter "In the frozen land of Nador they were forced to eat Robin's minstrels, and there was much rejoicing." Monty Python & the Holy Grail 70