From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!tncsrv06.tnetconsulting.net!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: moi Newsgroups: comp.lang.ada Subject: Re: Map iteration and modification Date: Wed, 3 Jan 2024 04:05:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net WhDBxmCZAjy7NGWG3TlQ6wgJYiEJw1fZurXEUavbcgUw9qe0AW Cancel-Lock: sha1:rlqzgecYIcoqcD7wRY4E+c+nFWA= sha256:L04CQHsNcRsFHwXIp0bRh8BuW98SsBrTbXWLtBgkA0A= User-Agent: Mozilla Thunderbird Content-Language: en-GB In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:65955 List-Id: On 03/01/2024 03:22, Randy Brukardt wrote: > "Dmitry A. Kazakov" wrote in message > news:umv8rg$2b4on$1@dont-email.me... > ... >> It is same benefit Ada arrays have over C's T* pointers and arithmetic of. >> Cursor is merely a fat pointer. > > A cursor is an abstract reference. It *might* be implemented with a pointer > or with an array index. Indeed, the bounded containers pretty much have to > be implemented with an underlying array. > > It would be nice if there was some terminology for abstract references that > hadn't been stolen by some programming language. Terms like "pointer" and > "access" and "reference" all imply an implementation strategy. That's not > relevant most of the time, and many programming language design mistakes > follow from that. (Anonymous access types come to mind). What about "currency", as used in DB systems? -- Bill F.