comp.lang.ada
 help / color / mirror / Atom feed
From: Darren New <dnew@san.rr.com>
Subject: Re: Why not using [] instead of () for array?
Date: Mon, 25 Feb 2002 03:14:36 GMT
Date: 2002-02-25T03:14:36+00:00	[thread overview]
Message-ID: <3C79AC16.D9F7B084@san.rr.com> (raw)
In-Reply-To: vA1bIqExvWDT@eisner.encompasserve.org

Larry Kilgallen wrote:
> My understanding is that function parameters and array indices are
> intentionally encoded with the same bracketing types to allow one
> to be substituted for another in a subsequent version of a program.

This would seem strange to me, given how explicit people seem to want
Ada to be. Surely if "use" is in any sense "unsafe", then confusing an
array and a function would be equally ... well, confusing?

-- 
Darren New 
San Diego, CA, USA (PST). Cryptokeys on demand.
  To the user, everything works just as expected,
    assuming the user's expectations are correct.



  reply	other threads:[~2002-02-25  3:14 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-25  1:19 Why not using [] instead of () for array? Adrian Hoe
2002-02-25  1:48 ` Larry Kilgallen
2002-02-25  3:14   ` Darren New [this message]
2002-02-25 10:14   ` Peter Hermann
2002-02-25  3:23 ` Dale Stanbrough
2002-02-25  5:28 ` David Starner
2002-02-25 14:39   ` Robert Dewar
2002-02-26  7:56     ` Mats Karlssohn
2002-02-27  4:52       ` Robert Dewar
2002-02-27 16:44         ` Darren New
2002-02-27 14:29       ` David Starner
2002-02-27  0:50     ` Adrian Hoe
2002-02-27 17:37       ` Jeffrey Carter
2002-02-25 18:46 ` Toshitaka Kumano
2002-02-27  4:54   ` Robert Dewar
2002-02-27  8:48     ` Dmitry A. Kazakov
2002-02-28  5:29       ` Adrian Hoe
2002-02-28 21:39       ` Florian Weimer
2002-02-27  1:09 ` Adrian Hoe
  -- strict thread matches above, loose matches on Subject: below --
2002-02-28  6:37 Christoph Grein
2002-02-28 22:56 ` Jeffrey Carter
replies disabled

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