From: Britt <britt.snodgrass@gmail.com>
Subject: Re: Free learning resources for Ada (are they good enough?)
Date: Thu, 9 Aug 2012 19:11:08 -0700 (PDT)
Date: 2012-08-09T19:11:08-07:00 [thread overview]
Message-ID: <f417371a-70c1-41eb-8887-cdf6581dc657@googlegroups.com> (raw)
In-Reply-To: <789dc1e7-1e58-4012-8f44-1dffa006e4c4@googlegroups.com>
On Thursday, August 9, 2012 6:05:34 PM UTC-4, Patrick wrote:
> I hadn't found the http://cengage.com/ book by myself. I am reading it now and it does not seem quite right.
>
> It's saying things like underscores should not be used for programmer defined indentifiers.
>
> It uses all caps like most of the Ada 83 books I have seen.
>
> Ada 83 books are good but I think it's important to read them with the understanding that little things have changed and that some things are not in fashion now.
I had't seen that Cengage "book" before either. It reads like some first year assistant professor's course notes converted into an ebook. The following statement in the book:
"The underscore character is not used in programmer-defined identifiers; it is used in “standard” Ada such as TEXT_IO.PUT(. . .). Occasionally, we’ll use
single capital letters for identifiers in quick code fragments."
is just clueless and wrong.
I suggest that the OP look at the Ada Quality and Style Guide from one of the sites below:
http://en.wikibooks.org/wiki/Ada_Style_Guide
http://www.adaic.org/resources/add_content/docs/95style/95style.pdf
next prev parent reply other threads:[~2012-08-10 2:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-09 12:22 Free learning resources for Ada (are they good enough?) Dufr
2012-08-09 13:34 ` Georg Bauhaus
2012-08-09 19:39 ` Patrick
2012-08-09 22:05 ` Patrick
2012-08-09 22:13 ` Nasser M. Abbasi
2012-08-10 2:11 ` Britt [this message]
2012-08-09 23:45 ` Dufr
2012-08-10 0:07 ` Patrick
2012-08-10 10:06 ` Brian Drummond
2012-08-10 11:40 ` Patrick
2012-08-10 12:01 ` Dmitry A. Kazakov
2012-08-10 12:22 ` Patrick
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox