comp.lang.ada
 help / color / mirror / Atom feed
From: Justin Gombos <rpbkbq.xax.gld@uluv.kbq>
Subject: Re: Records that could be arrays
Date: Thu, 23 Feb 2006 13:37:47 GMT
Date: 2006-02-23T13:37:47+00:00	[thread overview]
Message-ID: <LUiLf.19646$HU.19103@trnddc04> (raw)
In-Reply-To: btujtd.ojo.ln@hunter.axlog.fr

On 2006-02-23, Jean-Pierre Rosen <rosen@adalog.fr> wrote:
>
> I beg to disagree here. Arrays are for *iterative* structures, if
> you don't have a for loop over an array, it should be a record.

In most cases you don't know at the time you code the type whether
you'll use a loop; and records offer no advantages either way.  While
limitations can be quite useful when they apply to visibility or
access, I see no advantage to limiting the expressive power that
arrays have.

> The fact that all components are of the same type may be an accident
> that changes during program evolution.

Good point.

-- 
PM instructions: do a C4esar Ciph3r on my address; retain punctuation.



  parent reply	other threads:[~2006-02-23 13:37 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-23  4:11 Records that could be arrays Justin Gombos
2006-02-23  4:51 ` tmoran
2006-02-23 13:19   ` Justin Gombos
2006-02-24 10:19     ` Stephen Leake
2006-02-23  6:32 ` Wilhelm Spickermann
2006-02-23 13:08   ` Stephen Leake
2006-02-23 13:20   ` Justin Gombos
2006-02-23 14:29     ` Wilhelm Spickermann
2006-02-24 10:31       ` Stephen Leake
2006-02-26 22:34         ` Wilhelm Spickermann
2006-02-23  8:21 ` john Doef
2006-02-23  9:22 ` Jean-Pierre Rosen
2006-02-23 13:11   ` Stephen Leake
2006-02-23 13:37   ` Justin Gombos [this message]
2006-02-23 13:06 ` Stephen Leake
2006-02-23 20:23   ` Simon Wright
2006-02-24 21:23   ` Randy Brukardt
2006-02-25 11:39     ` Dmitry A. Kazakov
2006-02-26  3:24       ` Steve Whalen
2006-02-26  9:51         ` Dmitry A. Kazakov
2006-02-27  2:26           ` Steve Whalen
2006-02-27  9:33             ` Dmitry A. Kazakov
2006-03-01 22:44             ` Robert A Duff
replies disabled

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