From: Toshitaka Kumano <kumano@cl.cilas.net>
Subject: Re: Why not using [] instead of () for array?
Date: Tue, 26 Feb 2002 03:46:00 +0900
Date: 2002-02-25T18:47:54+00:00 [thread overview]
Message-ID: <3C7A8668.50BC257B@cl.cilas.net> (raw)
In-Reply-To: 9ff447f2.0202241719.446bf17b@posting.google.com
Adrian Hoe wrote:
> 2. More distinguishable from functions parameters and leads to 1.
Although I don't know what the true reason is, "*in*distinguishablity"
here is my favorite.
From a mathematical view, The syntax,
Output := Mapping (Input);
can be read "Input maps onto Input".
And the mapping can be static as arrays or dynamic as some function,
in various reason, according to circumstances.
Although I admit they are not equivalent, for in array Input cannot be
composite, the psuedo-equivalence makes me feel there is good sense in
the language design, say, conformity against modification, here.
The mapping-like-sematics of "()" is true also with type conversion,
where representation mapping is done via derivation, e.g., from
byte map to bitmap, or from "no-repped" enumeration to "repped"
enumeration, vice versa.
In another case, the fact that a parameterless function is
indistinguishable with a variable, unlike other languages, makes me
charmed much.
And there is more "visually indistinguishable" things in the language,
probably intently, e.g. Tasks.Entry vs Package.Procedure,
Access_Object.Component vs Non-Access_Object.Component...
*Visual* indistinguishability makes little problem in the strong-typed
language, bacause compilers are so *ruthless* in their
distinguishability
:-)
--
Toshitaka Kumano
next prev parent reply other threads:[~2002-02-25 18:46 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
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 [this message]
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