comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin D. Condic" <mcondic-nospam@quadruscorp.com>
Subject: Re: Where is the elusive jump command?
Date: 2000/03/29
Date: 2000-03-29T14:45:46+00:00	[thread overview]
Message-ID: <38E240D1.DB36C983@quadruscorp.com> (raw)
In-Reply-To: 8brfm4$4uc$1@nnrp1.deja.com

Robert Dewar wrote:
> I disagree, noone teaches goto's in any beginning programming
> courses, for good reasons. Anyone desparately wanting to write
> gotos has a peculiar starting point.
> 
I agree. However, I rather got the impression that the original poster
was an experienced programmer who was used to doing things a particular
way based on what other languages normally do. I wouldn't teach gotos as
an introductory style, but if a Fortran weenie wanted to know how it was
done in Ada, I'd show him and advise him that there were better ways.

> As for terminating strings with null, that really does not work
> in Ada for many reasons, the models of strings are very very
> different in C and Ada, and trying to gloss over this will be
> a disservice.
> 
Again, I agree wholeheartedly. I've seen too many C programmers come
over to Ada and try terminating strings with null, pass parameters with
addresses, etc. Essentially they are fighting the language and making
their lives harder. However, I would at least point out to them that
what they are used to doing can be done with Ada, but that again they
are fighting the language and making their lives harder. I just think
that Ada gets a bad rap and gets ignored because someone used to C
programming starts going "Well, I can't do in Ada the kinds of things I
usually do, so Ada is useless."

> As for pointers, I would NEVER tell people about *aliased* until
> they understood the language well.
> 
Certainly *aliased* anything is a concept best left for the experienced
programmer and should not be an intro-level topic. It depends on the
audience though. If you've got an experienced C programmer who wants to
learn to use Ada to interface to the Win32api, you need to discuss this
topic. All the while emphasizing that it should be used judiciously,
hidden at low levels in the case of bindings and that generally Ada
programs don't do this kind of thing because it has better ways.

> You just confuse people by introducing features that are
> unnecessary and will lead them in the wrong direction.
> 
We do have to be careful not to confuse the newbies. We should try to
emphasize The Ada Way of programming. I just think we'll win a few more
converts by being willing to say "Yeah, you can do exactly what you
usually do in language X and here's how. But there is a *better* way to
consider that will make your life easier."

I know we have the same objective. The tricky part is how best to get
there.

MDC
-- 
=============================================================
Marin David Condic   - Quadrus Corporation -   1.800.555.3393
1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233
http://www.quadruscorp.com/
m c o n d i c @ q u a d r u s c o r p . c o m

***PLEASE REMOVE THE "-NOSPAM" PART OF MY RETURN ADDRESS***

Visit my web site at:  http://www.mcondic.com/

"Because that's where they keep the money."
    --  Willie Sutton when asked why he robbed banks. 
=============================================================




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

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-21  0:00 Where is the elusive jump command? dis90072
2000-03-21  0:00 ` Nicolas Brunot
2000-03-21  0:00 ` Stanley R. Allen
2000-03-21  0:00 ` Nicolas Brunot
2000-03-27  0:00 ` Robert A Duff
2000-03-28  0:00   ` Dale Stanbrough
2000-03-28  0:00   ` Ken Garlington
2000-03-28  0:00     ` Robert Dewar
2000-03-28  0:00       ` Ken Garlington
2000-03-28  0:00         ` Marin D. Condic
2000-03-28  0:00           ` Robert Dewar
2000-03-29  0:00             ` Richard D Riehle
2000-03-29  0:00               ` Robert Dewar
2000-03-30  0:00                 ` Richard D Riehle
2000-04-01  0:00                   ` Robert A Duff
2000-04-02  0:00                     ` Robert Dewar
2000-04-02  0:00                     ` Richard D Riehle
2000-04-02  0:00                       ` Robert Dewar
2000-04-02  0:00                       ` Robert Dewar
2000-03-30  0:00                 ` Alfred Hilscher
2000-04-01  0:00                   ` Robert Dewar
2000-04-04  0:00                     ` Alfred Hilscher
2000-04-05  0:00                     ` Ole-Hjalmar Kristensen
2000-04-05  0:00                       ` Larry Kilgallen
2000-04-06  0:00                         ` Ole-Hjalmar Kristensen
2000-04-06  0:00                           ` OS Bindings (was: Where is the elusive jump command?) Larry Kilgallen
2000-04-06  0:00                             ` Ole-Hjalmar Kristensen
     [not found]                             ` <eisner comp.lang.ada:53670>
2000-04-06  0:00                               ` Larry Kilgallen
2000-04-06  0:00                                 ` Robert Dewar
2000-04-08  0:00                                   ` nickerson
2000-04-09  0:00                                     ` Robert Dewar
2000-04-06  0:00                             ` Robert Dewar
2000-04-07  0:00                               ` Tarjei T. Jensen
2000-04-09  0:00                                 ` Robert Dewar
2000-04-10  0:00                                   ` Tarjei T. Jensen
2000-04-12  0:00                                     ` Robert Dewar
2000-04-12  0:00                                       ` Tarjei T. Jensen
2000-04-12  0:00                                         ` Robert Dewar
2000-04-13  0:00                                           ` Tarjei T. Jensen
2000-04-15  0:00                                             ` Robert Dewar
2000-04-15  0:00                                               ` Tarjei T. Jensen
2000-04-12  0:00                                       ` Robert A Duff
2000-04-12  0:00                                         ` Tarjei T. Jensen
2000-04-12  0:00                                           ` Robert Dewar
2000-04-12  0:00                                           ` Robert Dewar
2000-04-12  0:00                                           ` Robert A Duff
2000-04-12  0:00                                             ` Florian Weimer
2000-04-12  0:00                                             ` Robert Dewar
2000-04-12  0:00                                               ` Robert A Duff
2000-04-15  0:00                                                 ` Robert Dewar
2000-04-15  0:00                                                   ` Gisle S�lensminde
2000-04-15  0:00                                                 ` Robert Dewar
2000-04-13  0:00                                               ` Tarjei T. Jensen
2000-04-13  0:00                                                 ` Gisle S�lensminde
2000-04-13  0:00                                             ` Tarjei T. Jensen
2000-04-13  0:00                                               ` Robert A Duff
2000-04-18  0:00                                                 ` Tarjei T. Jensen
2000-04-15  0:00                                               ` Robert Dewar
2000-04-15  0:00                                                 ` Tarjei T. Jensen
2000-03-29  0:00             ` Marin D. Condic [this message]
2000-03-29  0:00               ` Where is the elusive jump command? Gary Scott
2000-03-29  0:00                 ` Robert Dewar
2000-03-30  0:00                   ` Gary Scott
2000-03-30  0:00                   ` Gautier
2000-03-30  0:00                     ` Gary Scott
2000-03-30  0:00                       ` David Starner
2000-03-30  0:00                         ` William B. Clodius
2000-03-30  0:00                       ` Gautier
2000-03-30  0:00                   ` David Starner
2000-03-30  0:00                     ` Marin D. Condic
2000-03-30  0:00                       ` Dan Nagle
2000-03-30  0:00                         ` Samuel T. Harris
2000-03-31  0:00                           ` Gisle S�lensminde
2000-03-30  0:00                         ` David Starner
2000-03-30  0:00                       ` Larry Kilgallen
2000-03-30  0:00                       ` Gary Scott
2000-03-31  0:00                         ` Tarjei T. Jensen
2000-03-31  0:00                           ` Larry Kilgallen
2000-03-31  0:00                             ` Gary Scott
2000-03-30  0:00                       ` Samuel T. Harris
2000-03-31  0:00                       ` Gautier
2000-03-31  0:00                       ` Tarjei T. Jensen
2000-04-12  0:00                         ` Robert A Duff
2000-04-12  0:00                           ` Stanley R. Allen
2000-04-12  0:00                             ` Samuel T. Harris
2000-04-13  0:00                               ` Stanley R. Allen
2000-04-14  0:00                                 ` Samuel T. Harris
2000-04-14  0:00                                   ` BASIC->Ada, was " tmoran
2000-04-15  0:00                                 ` Robert Dewar
2000-04-15  0:00                             ` Robert Dewar
2000-04-13  0:00                           ` Tarjei T. Jensen
2000-03-31  0:00                       ` Gisle S�lensminde
2000-03-30  0:00               ` Alfred Hilscher
  -- strict thread matches above, loose matches on Subject: below --
2000-03-21  0:00 dis90072
2000-03-21  0:00 ` Preben Randhol
2000-03-30  0:00   ` Alfred Hilscher
replies disabled

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