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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,539d1d90a7670ec5,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-01 14:00:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.cwix.com!wn12feed!wn11feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc01.POSTED!not-for-mail From: Caffeine Junky Subject: Stumbling over arrays.(A bit of a ramble. Read if your bored.) Newsgroups: comp.lang.ada User-Agent: Pan/0.11.3 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Comment-To: ALL Message-ID: <02om9.1609$DN4.1573@sccrnsc01> NNTP-Posting-Host: 12.241.145.39 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc01 1033506044 12.241.145.39 (Tue, 01 Oct 2002 21:00:44 GMT) NNTP-Posting-Date: Tue, 01 Oct 2002 21:00:44 GMT Organization: AT&T Broadband Date: Tue, 01 Oct 2002 21:00:44 GMT Xref: archiver1.google.com comp.lang.ada:29446 Date: 2002-10-01T21:00:44+00:00 List-Id: My Ada95 skills have increased dramatically in the last few months. It seems like I'm finally getting it. Yet, I still have a tendency to stumble over Ada's handling of arrays. They dont intimidate me, because I know the compiler actively works to keep me from really screwing up a data structure. Records are a piece of cake to handle. Classes and Objects are becoming quite clear. However, I think my past exposure to C/C++ has set certain assumptions in my mind concerning arrays that arent necessarily true in Ada95. I'm still a novice when it comes to programming in general, so I'm taking the time to really get a grip on fundemental CS concepts.(Sort/Search algorithms, the Stack, Memory managment, etc...) before moving into more abstract areas such as Aspect Oriented/Object oriented programming, UML, Literate Programming, etc... Yet Ada arrays still have me going "Damnit! Why is everything so tedious?" So, I'm looking for suggestions on excercises I can do to help me really internalize Ada's view of Arrays(generic, Strings, etc...). I can use Arrays right now, but for me it's more a process of reading the compiler messages and making adjustments to the array declaration. Sort of like playing "Whack a mole." Any pointers would be helpful. NiCad