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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.129.135.133 with SMTP id x127mr15430707ywf.164.1483204957241; Sat, 31 Dec 2016 09:22:37 -0800 (PST) X-Received: by 10.157.42.16 with SMTP id t16mr1577155ota.18.1483204957199; Sat, 31 Dec 2016 09:22:37 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!d45no1350347qta.0!news-out.google.com!g131ni1494itg.0!nntp.google.com!75no5287025ite.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 31 Dec 2016 09:22:36 -0800 (PST) In-Reply-To: <701a35ed-2282-4587-be8a-a2b5a99c8f43@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:18f:900:f900:453d:87a5:de7c:1786; posting-account=3pYsyQoAAACcI-ym7XtMOI2PDU8gRZS5 NNTP-Posting-Host: 2601:18f:900:f900:453d:87a5:de7c:1786 References: <701a35ed-2282-4587-be8a-a2b5a99c8f43@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Introductory Ada Programming Book From: Andrew Shvets Injection-Date: Sat, 31 Dec 2016 17:22:37 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:32980 Date: 2016-12-31T09:22:36-08:00 List-Id: On Saturday, December 31, 2016 at 9:34:12 AM UTC-5, Lucretia wrote: > On Saturday, 31 December 2016 13:18:08 UTC, Andrew Shvets wrote: > > Hello, > >=20 > > My name is Andrew Shvets. I've been learning how to program in Ada ove= r the past few years. As someone that came from C/C++, Java and Python man= y of the concepts that were in Ada were not easy to digest at first. After= spending a fair amount of time looking for a guide that would help me out= (something that would guide me through much of the ideas in Ada in a gentl= e manner was strongly preferred and be focused on Ada 2012), I couldn't fin= d something like this (there is, on the other hand plenty of material that = would explain more advanced concepts.) Having mastered many of the basic c= oncepts in this wonderful language, I figured that having a guide for this = would be very helpful and wrote one. Hence the book "Introductory Ada Prog= ramming Book: A Book for Beginner Programmers and Beginners to Ada". The g= oal was to create a roadmap for those new to Ada learn more quickly and gai= n a certain level of mastery. >=20 >=20 > Hi, >=20 > Ada basically allows you to think about your data, the way other language= s should, but don't. You can still program in a C like way although that's = not advised. Basically, data has ranges of allowable values and the compile= r will enforce their use, the programmer doesn't have to remember to shove = in ASSERT macros everywhere. >=20 > Take a look at John English's AdaCraft http://www.adaic.org/resources/add= _content/docs/craft/html/contents.htm - wasn't he supposed to be updating t= his to Ada 2012? >=20 > IMO, Ada 2012 is the best revision we have so far, if you don't want to u= se certain features don't use them, or if there is one, use "pragma Restric= tion (x);" to make the compiler enforce it. >=20 > Then use the various standards (don't bother with the annotated ones yet)= , http://www.adaic.org/ada-resources/standards to learn Ada 2005 and 2012 e= xtensions to Ada95.=20 >=20 > BTW, what projects do you have in mind? Always interesting to know what p= eople are doing with the language and why they're looking into it. :) Sure. However, Ada has its own way of doing things (from the syntax to pro= cedures/functions to tasks) and going from one to another does require a re= alignment of how you think about the process of developing applications in = this wonderful language. Having a gentle and hand-held introduction would = definitely help for newcomers. As for projects, I'm thinking of doing an optparse package that you see in = Python (which I'm a fan of.) Honestly, I'm pretty stretched thin due to ot= her obligations/commitments, so that's not something that I can jump on doi= ng right now. I would like to release a second edition, but again, not sure based on what= time I have.