comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Declaring constants for a abstract tagged type and concrete sub classes
Date: Tue, 07 Jul 2015 13:18:48 -0700
Date: 2015-07-07T13:18:48-07:00	[thread overview]
Message-ID: <mnhc4j$5p0$1@dont-email.me> (raw)
In-Reply-To: <87b318bc-9534-413a-ad3c-dc2a12855ef2@googlegroups.com>

On 07/07/2015 12:51 PM, Serge Robyns wrote:
> 
> This one did the trick!  I'm marveled by the syntax and the meaning of the
> standalone tick (').  I'm wondering how I'll master these idiosyncrasies.
> I've tried to read years back the 95 RM but honestly it isn't bedtime
> lecture.  The wiki book is much readable but seems to leave quite some ground
> unexplored.  And I must admit I don't capture the essence of the difference
> between the above one and below one, except the obvious (variable vs. type)
> it puzzles me that it builds a variable out of type definition.

Yes, the ARM is not a good way to learn the language, and the wiki book leaves
some things to be desired. If you have experience with another language, I
recommend /Ada Distilled/:

http://www.adaic.org/wp-content/uploads/2010/05/Ada-Distilled-24-January-2011-Ada-2005-Version.pdf

If you'd like more of a beginner's introduction, there's /Ada 95: The Craft of
Object Oriented Programming/:

http://archive.adaic.com/docs/craft/craft.html

Both are freely available on line.

-- 
Jeff Carter
"I've seen projects fail miserably for blindly
applying the Agile catechism: we're Agile, we
don't need to stop and think, we just go ahead
and code!"
Bertrand Meyer
150

  parent reply	other threads:[~2015-07-07 20:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-06 10:10 Declaring constants for a abstract tagged type and concrete sub classes Serge Robyns
2015-07-06 11:55 ` G.B.
2015-07-06 13:49   ` Serge Robyns
2015-07-06 17:36     ` G.B.
2015-07-07 16:27       ` Serge Robyns
2015-07-07 17:21         ` G.B.
2015-07-07 19:51           ` Serge Robyns
2015-07-07 20:14             ` Simon Wright
2015-07-07 20:18             ` Jeffrey R. Carter [this message]
2015-07-06 15:42 ` Simon Wright
2015-07-06 16:35   ` Serge Robyns
2015-07-06 17:02     ` Bob Duff
2015-07-06 21:16       ` Serge Robyns
2015-07-06 17:30 ` gautier_niouzes
replies disabled

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