From: Dave Jones <davedave@io.com>
Cc: davedave@io.com
Subject: Re: Some questions about Ada.
Date: 1996/05/02
Date: 1996-05-02T00:00:00+00:00 [thread overview]
Message-ID: <3188F63D.3325@io.com> (raw)
In-Reply-To: DqrD2C.Jyr@undergrad.math.uwaterloo.ca
Carl Laurence Gonsalves wrote:
> I've got a couple of questions about Ada. I have to confess that I've never
> written a single line of Ada code. I've got experience in C, C++, Modula-3,
> Java, and Scheme, and several other languages. I've recently become
> interested in finding out about Ada, partly because I've noticed that both
> Java and Modula-3 seem to have been influenced by Ada's design, and I think
> both languages are very good.
>
My opinion: Ada95 is the best all-around language for software engineering.
C++ is awful. Nevertheless, if I were starting a project today, I would
probably choose to use C++. Why?: More (and better and cheaper) tools are
available for C++, more programmers are trained to program in C++, et cetera.
> One thing I'm wondering about is packages. I've heard that packages are
> "better" than than the way C++ uses classes. I'm curious as to why this is.
> Modula-3 has modules (which are similar, AFAIK, to Ada's packages) and
> "object types" (classes) as two distinct entities. I'v always thought that
> C++'s way of allowing just about anything to be nested in a class much
> cleaner and simpler. (and for the record, I was programming in Modula-3
> before I was programming in C++) So are packages better? Why?
>
I would not say that packages are necessarily better. They are, however, easier
to read and maintain than C++ classes. (Of course, if you switched from a well-
designed language like Modula-3 to C++, maintainability and ease of reading are
probably secondary concerns for you.) By the way, Ada95 is fully object oriented,
so you can create classes (But be careful: Ada uses different terms for its
object-oriented constructs than other languages do.).
> Second, I've been wondering why Ada is case-insensitive. I'm aware that Ada
> was very carefully designed, so I'm thinking there must be some reason it
> was made case-insensitive rather than case-sensitive, but I can't imagine
> what that reason could be.
>
This was done on purpose. Although it gives the programmer less flexibility,
it does make for more reliable programs: If you have ever tried to maintain
a C program where This and tHIS do not mean the same thing, you know what I mean.
-- Dave Jones
davedave@io.com
next prev parent reply other threads:[~1996-05-02 0:00 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-02 0:00 Some questions about Ada Carl Laurence Gonsalves
1996-05-02 0:00 ` Dave Jones [this message]
1996-05-03 0:00 ` Spencer Allain
1996-05-03 0:00 ` Darren C Davenport
1996-05-03 0:00 ` Carl Laurence Gonsalves
1996-05-03 0:00 ` Robert A Duff
1996-05-03 0:00 ` Dave Jones
1996-05-03 0:00 ` Adam Beneschan
1996-05-04 0:00 ` Carl Laurence Gonsalves
1996-05-04 0:00 ` Robert Dewar
1996-05-04 0:00 ` Robert A Duff
1996-05-04 0:00 ` Robert Dewar
1996-05-05 0:00 ` Robert A Duff
1996-05-05 0:00 ` Arthur Evans Jr
1996-05-05 0:00 ` Robert Dewar
1996-05-06 0:00 ` Norman H. Cohen
1996-05-06 0:00 ` David Weller
1996-05-07 0:00 ` Robert Dewar
1996-05-12 0:00 ` Geert Bosch
1996-05-05 0:00 ` Robert Dewar
1996-05-06 0:00 ` Christopher J. Henrich
1996-05-04 0:00 ` Kevin D. Heatwole
1996-05-04 0:00 ` Richard Kenner
1996-05-04 0:00 ` Robert Dewar
1996-05-05 0:00 ` Richard Kenner
1996-05-05 0:00 ` Robert Dewar
1996-05-06 0:00 ` Norman H. Cohen
1996-05-06 0:00 ` Robert Dewar
1996-05-03 0:00 ` Michael Feldman
1996-05-06 0:00 ` Laurent Guerby
1996-05-06 0:00 ` Matthew M. Lih
1996-05-09 0:00 ` Dave Jones
1996-05-02 0:00 ` Robert A Duff
1996-05-03 0:00 ` Laurent Guerby
1996-05-03 0:00 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox