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-Thread: a07f3367d7,caabf5265fad78e5 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.in2p3.fr!in2p3.fr!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Learning Ada (Was: unsigned type) Date: 03 Jul 2009 09:12:51 +0200 Organization: Jacob Sparre Andersen Sender: sparre@jspa-nykredit Message-ID: <878wj61bpo.fsf_-_@nbi.dk> References: <59O1m.404661$4m1.69194@bgtnsc05-news.ops.worldnet.att.net> <62792744-daca-437b-bdee-4b8a21f7ce27@j32g2000yqh.googlegroups.com> <82oq45tj2uu26u6ecsgq70bsjskr9dvghr@4ax.com> NNTP-Posting-Host: 79.138.251.181.bredband.3.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: munin.nbi.dk 1246605217 11895 79.138.251.181 (3 Jul 2009 07:13:37 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Fri, 3 Jul 2009 07:13:37 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Xref: g2news2.google.com comp.lang.ada:6818 Date: 2009-07-03T09:12:51+02:00 List-Id: Rob Solomon wrote: > Ada as a Second Language is a far better book to learn from. My > earlier posts were because I first opened the John Barnes book and > that left me w/ more questions than answers. It introduces very > advanced concepts like OOP, pointers, abstract types, etc before > loops are covered. That is, he writes about advanced data > structures before covering more basic control structures. This made > it very hard for me to follow. I would say that the way Barnes' book is structured points out a very important aspect of Ada; Types are important! When you write a program in Ada, you should start out by considering which data you want to handle, and then declare the appropriate data types for handling these data. Once you have declared the types, you can start writing algorithms which handle the data. It might be to push things a bit too far, but I think it would be beneficial, if the types Float and Integer were removed from the language. > So I am going onto the Norman Cohen book. This is much better > organized for a newcomer. Personally I learned Ada (95) from the Language Reference Manual. Greetings, Jacob -- "It is a syntax error to write FORTRAN while not wearing a blue tie."