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,aa7f494bf30adbc7 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news1.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: [newbie] simple(?) data structures References: <2j1e30Fsrg8vU1@uni-berlin.de> <2jao1qFvj2rgU1@uni-berlin.de> <2jc33qFv3sitU1@uni-berlin.de> In-Reply-To: <2jc33qFv3sitU1@uni-berlin.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 17 Jun 2004 00:44:39 GMT NNTP-Posting-Host: 63.184.1.175 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.news.pas.earthlink.net 1087433079 63.184.1.175 (Wed, 16 Jun 2004 17:44:39 PDT) NNTP-Posting-Date: Wed, 16 Jun 2004 17:44:39 PDT Xref: g2news1.google.com comp.lang.ada:1594 Date: 2004-06-17T00:44:39+00:00 List-Id: Roland Illig wrote: > Georg Bauhaus wrote: > >> Any particular reason why you want to use a pointer? > > * I'm not sure what the maximum size will be. > * I've been programming in C for a long time. > * I like the controlled objects. > * It only allocates as much memory as necessary. > > Well, I'm not sure if the Go_Board will ever be in action, it's just for > learning Ada. If you're just learning Ada, it's probably a good idea to avoid pointers. If you've used C a lot, it's an even better idea to avoid pointers, so you can learn how many situations that require pointers in C do not require them in Ada. -- Jeff Carter "Go and boil your bottoms." Monty Python & the Holy Grail 01