comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: General circular buffer example not tied to any specific type
Date: Mon, 06 Jul 2020 11:34:44 +0100	[thread overview]
Message-ID: <lylfjxc4or.fsf@pushface.org> (raw)
In-Reply-To: rdup49$sei$1@dont-email.me

"Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org> writes:

> 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.

Yes. There would have to be some mechanism for the receiving end to
decide what to do with the next lot of bytes!

  reply	other threads:[~2020-07-06 10:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-04 17:00 General circular buffer example not tied to any specific type Daniel
2020-07-04 17:25 ` Dmitry A. Kazakov
2020-07-05  9:37   ` Simon Wright
2020-07-05  9:52     ` Simon Wright
2020-07-05 13:25       ` Jeffrey R. Carter
2020-07-05 15:36         ` Simon Wright
2020-07-05 18:46           ` Dmitry A. Kazakov
2020-07-05 19:51             ` Simon Wright
2020-07-06  8:11         ` Simon Wright
2020-07-06  8:58           ` Jeffrey R. Carter
2020-07-06 10:34             ` Simon Wright [this message]
2020-07-06 11:07               ` Dmitry A. Kazakov
2020-09-03 10:31 ` riya patel
2020-09-24  4:10 ` nimaopatel121
2020-09-24  4:39   ` J-P. Rosen
2020-09-25 14:32 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox