comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: The Ada way of programming
Date: Thu, 27 Dec 2012 22:30:09 +0100
Date: 2012-12-27T22:30:08+01:00	[thread overview]
Message-ID: <50dcbde0$0$6584$9b4e6d93@newsspool3.arcor-online.net> (raw)
In-Reply-To: <87ehieukz6.fsf@mid.deneb.enyo.de>

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.




  reply	other threads:[~2012-12-27 21:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-25 10:18 The Ada way of programming alb348
2012-12-25 16:58 ` Florian Weimer
2012-12-27 21:30   ` Georg Bauhaus [this message]
2012-12-28 16:23     ` Shark8
2012-12-29 19:51 ` Jacob Sparre Andersen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox