comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Ada Query...
Date: 2000/03/27
Date: 2000-03-27T00:00:00+00:00	[thread overview]
Message-ID: <8bortn$73i$1@nnrp1.deja.com> (raw)
In-Reply-To: 1523f737.24269b2c@usw-ex0102-015.remarq.com

In article <1523f737.24269b2c@usw-ex0102-015.remarq.com>,
  phodgpacker <phodgepackerNOphSPAM@excite.com.invalid> wrote:

> Let just say to all that replied to Matt's post, you are
> dicks. You could have just answered they question, but you
> felt it necessary to jump all over him.

Well we could have just answered the question, but that would
have been unfare to him, just as it is unfare to a student to
do their homework for them.

The critical thing here is not for Matt to learn that what he
wants is a procedure, but rather to learn how to figure that
out for himself.

The analogy of the pilot in the 747 cockpit asking where the
accelerator lives is a very nice one, it captures not only the
lack of knowledge, but also the wrong frame of thinking that
came with the original message.

Trying to write C code in Ada by asking statement by statement
what the Ada equivalent for the C is may result in a sort of
working Ada program if the program is short, but it will not
result in an acceptable Ada program, or in the programmer having
learned anything about Ada.

One must assume that the point of Matt writing anything in Ada
is to learn how Ada works (one certainly can assume that he is
not part of some programming team writing nuclear reactor
codes). Given that, it is really a good discipline not to take
the easy way out and just answer the question in the small, but
rather to use the opportunity to help teach.

Remember that Matt's objective here is not to write a "function
that does not return a value", but rather to learn how to write
Ada.


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-03-27  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-26  0:00 Ada Query Matt
2000-03-26  0:00 ` Marin D. Condic
2000-03-26  0:00 ` Robert Dewar
2000-03-26  0:00   ` Matt
2000-03-26  0:00     ` Preben Randhol
2000-03-26  0:00     ` tmoran
2000-03-26  0:00     ` Robert Dewar
2000-03-26  0:00     ` Lab. - konto NDG-48
2000-03-26  0:00 ` Pascal Obry
2000-03-26  0:00 ` Ken Garlington
2000-03-27  0:00   ` Ted Dennison
2000-03-27  0:00 ` phodgpacker
2000-03-27  0:00   ` Robert Dewar [this message]
2000-03-27  0:00   ` Ken Garlington
2000-03-27  0:00     ` Marin D. Condic
replies disabled

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