comp.lang.ada
 help / color / mirror / Atom feed
From: "Brian" <phaedrusalt@hotmail.com>
Subject: Re: Ada as a first language
Date: Wed, 25 Mar 2009 15:20:11 -0800
Date: 2009-03-25T15:20:11-08:00	[thread overview]
Message-ID: <05idnQoZLMGuM1fUnZ2dnUVZ_g6WnZ2d@earthlink.com> (raw)
In-Reply-To: cc16d2b7-a81b-464f-8e8f-80771b171d1d@w9g2000yqa.googlegroups.com

"John McCormick" <mccormick@cs.uni.edu> wrote

>Perhaps if you read the portion of my articles that explains WHY Ada
>succeeds where C fails you could expand the domain far beyond my
>trains.  My conclusions on the problems with scalars has been
>confirmed in numerous domains.

>I agree that Ada is not suitable for many domains, but embedded
>systems is one domain for which it is generally extremly well
>suited.

John,

Ada works great, better than other languages, for certain situations.  Not 
all situations.  So, let's list a few "rules of thumb" about programming:
1. Short programs tend to be better (More successful) when they're written 
in the language that the implementer knows best.  (Barring prior knowledge, 
then these short programs tend to be more successful in languages that are 
easier to learn.)
2. Some languages make handling some domains easier than others.
3. For programs under 100 SLOC, it might be a wash as to which language was 
better suited.  (As long as the language supports the domain.)

Now, what should we expect from a person with no programming experience, 
experimenting with embedded robotics?  Probably small programs, for a good 
while.  Probably most interested in seeing action from the end effectors 
than anything else.  Now, what environment(s) would be most likely to give 
this person the greatest success with the least pain?  Not Ada.

The conclusions reached in your article are correct, up to a point. 
However, to make your point you abstracted two variables, the user's prior 
experience and the complexity of the problem space.  (I don't blame you, the 
addition of those two variables would have turned your paper into a 
ponderous tome!)  But, in this case these two variables are very important, 
in fact they're the only information given.  Roughly applying my rules of 
thumb (Paragraph 1) to my assumptions (Paragraph 2), we get:

A. The user will probably want to write short programs because he has no 
prior experience.  He might tend to be more successful in a language that is 
easy to learn.  And for programs under 100 SLOC, it might be a wash as to 
which language was better suited.
B. The user will probably most want to see action from the end effector(s), 
and some languages might make handling the robotic domain easier.

So, language probably doesn't matter and user success is of paramount 
importance. In this case, don't you think that an easier environment might 
be a better choice?  If NXT-G (The Lego Mindstorms graphical language) is 
too simple, then there are many other choices available before I'd recommend 
Ada to a beginner.  I realize that we all love using Ada, but shouldn't we 
consider the person's needs first?

Brian Salter









  reply	other threads:[~2009-03-25 23:20 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-22  2:26 Ada as a first language Chris
2009-03-22 10:36 ` mockturtle
2009-03-22 14:44 ` Brian Drummond
2009-03-23 11:03   ` Peter C. Chapin
2009-03-23 13:29     ` Brian Drummond
2009-03-25 10:51       ` Peter C. Chapin
2009-03-23 16:59   ` rolf.ebert_nospam_
2009-03-24 19:22   ` Tim Rowe
2009-04-04  1:42     ` Brian Gaffney
2009-04-07  9:50       ` Alex R. Mosteo
2009-03-22 15:21 ` Gary Scott
2009-03-23  8:28 ` Brian
2009-03-23  9:05   ` Jacob Sparre Andersen
2009-03-23 22:02     ` Brian
2009-03-24  1:41       ` Gautier
2009-03-24  5:56       ` Jacob Sparre Andersen
2009-03-24 22:30         ` Brian
2009-03-25  9:41           ` rmoldskr+usenet
2009-03-25 22:27             ` Brian
2009-03-25 17:58       ` John McCormick
2009-03-25 23:20         ` Brian [this message]
2009-03-23 12:08 ` Chris
2009-03-25 21:10   ` John McCormick
2009-04-11 16:40   ` Mike Silva
2009-03-23 23:05 ` jpwoodruff
2009-03-25  0:16 ` Martin
2009-03-25 15:54 ` John McCormick
  -- strict thread matches above, loose matches on Subject: below --
1997-07-03  0:00 Ada as a First Language RC
1997-07-03  0:00 ` Michael Feldman
1997-07-06  0:00 ` Alan Brain
1997-07-06  0:00   ` Robert Dewar
1997-07-16  0:00   ` Eric James DeArment
1997-07-07  0:00 ` Shmuel (Seymour J.) Metz
1992-12-29 15:40 agate!dog.ee.lbl.gov!hellgate.utah.edu!fcom.cc.utah.edu!vx9000.weber.edu!
replies disabled

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