Sujet : Re: technology discussion → does the world need a "new" C ?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 05. Jul 2024, 09:25:10
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v68al5$376r6$1@dont-email.me>
References : 1 2 3 4
User-Agent : Pan/0.158 (Avdiivka; )
On Fri, 05 Jul 2024 01:09:37 -0700, Keith Thompson wrote:
(Ada, for example, has both arrays of arrays and multidimensional arrays
as distinct language features, using a(i)(j) to index the former and
a(i,j) to index the latter.)
Algol 68 had it before that. It also had a “rowing” coercion, to convert a
value of type T to type “row of T” (as a single-element array, of course).