comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Doing Ada right?
Date: Mon, 27 Jul 2015 11:42:15 -0700
Date: 2015-07-27T11:42:15-07:00	[thread overview]
Message-ID: <mp5tvb$mhe$2@dont-email.me> (raw)
In-Reply-To: <c4778944-42b5-47cd-852f-d5e2569b61e6@googlegroups.com>

On 07/27/2015 08:17 AM, EGarrulo wrote:
> While reading about Ada on StackOverflow, I have stumbled upon a comment that said that:
> 
>     there are 2 types of programmers: the people who are actually really good
>     at Ada and can do it right, and those that "know" Ada, but program it in 
>     a way/style representative of the 70s with older languages.[1]

The "2 kinds of programmers" probably represents my frequent comment about the 2
kinds of developers: coders and S/W engineers. Ada is designed to support the
way S/W engineers think. Those who like Ada and are good at it are largely S/W
engineers, while those who dislike it and fight with it are generally coders.

So part of how to become really good at Ada is to be a S/W engineer. Another is,
as you realized, to read lots of Ada. You should start with Annex A of the ARM.

http://www.adaic.org/resources/add_content/standards/12rm/html/RM-A.html

This is stuff that you should be familiar with anyway if you're using Ada. Then
you can look at some of the Ada code that's out there and publicly available.
There are a number of demo programs at the Gnoga site

gnoga.com

and numerous Ada libraries. One is the PragmAda Reusable Components

https://pragmada.x10hosting.com/pragmarc.htm

There are 2 versions of this one, one for Ada 95 and one for the 07 version of
Ada. You might find it interesting to look at the differences between the 2.

You should think about what you like and dislike in the code you read. It's not
all going to be great. Why did they do things that way and not another? What
would make it clearer or easier to use? I've always wondered why Ada.Text_IO
overloads things with and without a File parameter, rather than having one
version with the File parameter defaulted to Current_Input.

Finally, you should write lots of Ada. You should do so knowing that you'll
throw away a lot of it. Think about it just as you do for the Ada you read.

-- 
Jeff Carter
"Why don't you bore a hole in yourself and let the sap run out?"
Horse Feathers
49

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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-27 15:17 Doing Ada right? EGarrulo
2015-07-27 16:32 ` David Botton
2015-07-27 18:28   ` EGarrulo
2015-07-27 18:42 ` Jeffrey R. Carter [this message]
2015-07-28  6:42   ` Egil H H
2015-07-28  7:06     ` Shark8
2015-07-28 17:38     ` Jeffrey R. Carter
replies disabled

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