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 00:06:04 PST Path: supernews.google.com!sn-xit-03!supernews.com!freenix!isdnet!skynet.be!news.algonet.se!algonet!pepsi.tninet.se!not-for-mail From: Mats Karlssohn Newsgroups: comp.lang.ada Subject: Re: newbie can't get exceptions to work! Date: Tue, 10 Apr 2001 08:59:28 +0200 Organization: MIDA Systemutveckling AB Message-ID: <3AD2AF50.6B5DD470@mida.se> References: <3ACDB29E.45B91316@earthlink.net> <9ao1if$cq9$1@taliesin.netcom.net.uk> <3ACFC902.115624A1@mindspring.com> NNTP-Posting-Host: du125-155.ppp.algonet.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: cubacola.tninet.se 986885967 21596 195.100.155.125 (10 Apr 2001 06:59:27 GMT) X-Complaints-To: abuse@algo.net NNTP-Posting-Date: 10 Apr 2001 06:59:27 GMT X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en Xref: supernews.google.com comp.lang.ada:6697 Date: 2001-04-10T06:59:27+00:00 List-Id: Ted Dennison wrote: > > In article , Brian > Rogoff says... %< > >I have had the problem of not being able to pick out arrays easily in the > >code of Ada since nothing really stands out in Ada. A good syntax should > >make different things look different. > > Why do you *need* to pick out arrays? %< > These are all quite different things underneath the scenes, but as long as they > return a value of the correct type the user doesn't really care about that. > That's good for me as a reader, because that hides detail that I don't really > care about in trying to figure out the code in which it appears. If I start to > worry about how MyObject.Field gets its value, *then* I'll go track down its > definition. I take it you don't like this either? Just to mention it (I do not intend to start another too long argument :) Could we get the language to handle dispatching calls that in some of the cases dispatches to a function and in some cases just get the return value from one array *big smile* ? I've quite recently implemented a hirarchy with these properties by wrapping the arrays in functions. It would be nice if the compiler could generate the wrappers by itself. But maybe this isn't a common enough problem ? -- Mats Karlssohn, developer mailto:mats@mida.se Mida Systemutveckling AB http://www.mida.se Box 64, S-732 22 ARBOGA, SWEDEN Phone: +46-(0)589-89808 Fax: +46-(0)589-89809