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,b31edd6b76eebb7d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.91.114 with SMTP id cd18mr9914386wib.2.1356837413567; Sat, 29 Dec 2012 19:16:53 -0800 (PST) Path: i11ni337233wiw.0!nntp.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.139.MISMATCH!xlned.com!feeder7.xlned.com!newsfeed10.multikabel.net!multikabel.net!newsfeed20.multikabel.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsreader4.netcologne.de!news.netcologne.de!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 27 Dec 2012 22:30:09 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: The Ada way of programming References: <637cb352-9a0f-45b2-99ee-a5a6077f4e46@googlegroups.com> <87ehieukz6.fsf@mid.deneb.enyo.de> In-Reply-To: <87ehieukz6.fsf@mid.deneb.enyo.de> Message-ID: <50dcbde0$0$6584$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 27 Dec 2012 22:30:08 CET NNTP-Posting-Host: e1f0e27a.newsspool3.arcor-online.net X-Trace: DXC=ceVjVMI\E[:NTD55K=McF=Q^Z^V384Fo<]lROoR18kFejV8B64BN^lB``2GB\0SE1=3C9 X-Complaints-To: usenet-abuse@arcor.de Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-12-27T22:30:08+01:00 List-Id: On 25.12.12 17:58, Florian Weimer wrote: > * alb: > >> What books / online resources would you suggest to a beginner who >> wants to learn the Ada way of programming? By this I mean the >> general guidelines of good programming for Ada (as opposed to the >> syntax and the other details of the language). > > I suspect there isn't much agreement on that. Different projects use > different guidelines and encourage or prohibit the use of different > language features. There might be a trend in the Ada way, though, produced by more recently educated programmers and more recently made versions of Ada. You'd meet it when there are many anonymous pointers, and, possibly, when nesting is hardly ever used. That's because a programmer coming from C++ is not used to parameter modes, and neither to what can be achieved using hierarchies. The latter has always been controversial, I think ("nesting is for the birds"), but leads to different designs. The former just needs to be popularized, and should lead to better designs if one without public pointing is better. I'd also be suspicious of expositions that use the predefined (and implementation-defined) types a lot, e.g. Integer.