From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,79bbf7e359159d0d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-10 10:46:05 PST Path: supernews.google.com!sn-xit-03!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Fraser Wilson Newsgroups: comp.lang.ada Subject: Re: newbie can't get exceptions to work! Date: 10 Apr 2001 10:44:50 -0700 Organization: Posted via Supernews, http://www.supernews.com Message-ID: Sender: fraser@slider References: <9ao1if$cq9$1@taliesin.netcom.net.uk> <3ACFC902.115624A1@mindspring.com> <9atph1$n3h$1@taliesin.netcom.net.uk> X-Newsreader: Gnus v5.5/XEmacs 20.4 - "Emerald" X-Complaints-To: newsabuse@supernews.com Xref: supernews.google.com comp.lang.ada:6718 Date: 2001-04-10T10:44:50-07:00 List-Id: "Ayende Rahien" writes: > An array is a container for data, a function is something that return data > based on some code that is in it. To me, that's an implementation detail. In the circumstances where arrays and functions are indistinguishable syntactically, they do essentially the same thing -- map a value or values to another value. Seguing into a topic from some other corner of the thread, I really like the idea, in languages that allow you to define operators, of assigning precedences only to related operators, and requiring parentheses for the rest. What an elegant solution. User-defined new operators would be entirely inappropriate for Ada of course. Fraser.