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-09 19:02:07 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!dispose.news.demon.net!demon!diablo.netcom.net.uk!netcom.net.uk!not-for-mail From: "Ayende Rahien" Newsgroups: comp.lang.ada Subject: Re: newbie can't get exceptions to work! Date: Tue, 10 Apr 2001 04:54:28 +0200 Organization: (Posted via) GTS Netcom - Public USENET Service http://pubnews.netcom.net.uk Sender: ayende@softhome.net Message-ID: <9atph1$n3h$1@taliesin.netcom.net.uk> References: <9ao1if$cq9$1@taliesin.netcom.net.uk> <3ACFC902.115624A1@mindspring.com> NNTP-Posting-Host: diup-180-26.inter.net.il X-Trace: taliesin.netcom.net.uk 986868068 23665 213.8.180.26 (10 Apr 2001 02:01:08 GMT) X-Complaints-To: abuse@corp.netcom.net.uk NNTP-Posting-Date: Tue, 10 Apr 2001 02:01:08 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.60.2296.0000 X-MimeOLE: Produced By Microsoft MimeOLE V5.60.2296.0000 Xref: supernews.google.com comp.lang.ada:6688 Date: 2001-04-10T04:54:28+02:00 List-Id: "Ted Dennison" wrote in message news:KgqA6.1193$FY5.91793@www.newsranger.com... > In article , Brian > Rogoff says... > > > >> Why do you *need* to pick out arrays? > > > >Because I am a programmer. Reading code is just one of those things that I > >do from time to time. Given that arrays and functions are different, > >programmers who read other people's code need to know what's what when > >reading. > > I had guessed that you are a programmer. I was hoping for a reason that's a > little more specific. I still don't see why someone trying to track down an > unrelated problem in some source code always needs to know that a particular > value came out of an array instead of a function. What about just *understanding* a code? For large works, you need to read a lot of code, and knowing that X is an array can save you trying to understand what is going on here. However, if we are talking about it. Implementing it in [1,2,3] no [1][2][3] is clearer, IMO. An array is a container for data, a function is something that return data based on some code that is in it. Implementing arrays & functions in a way which the reader can't visually detect which one is which is wrong.