comp.lang.ada
 help / color / mirror / Atom feed
From: "James S. Rogers" <jimmaureenrogers@worldnet.att.net>
Subject: Re: Newbee question
Date: Sun, 15 Dec 2002 04:04:14 GMT
Date: 2002-12-15T04:04:14+00:00	[thread overview]
Message-ID: <2bTK9.62545$hK4.5163007@bgtnsc05-news.ops.worldnet.att.net> (raw)
In-Reply-To: 0dRK9.37601$xH3.400905@weber.videotron.net

"Eric Robert" <synapzzz@hotmail.com> wrote in message
news:0dRK9.37601$xH3.400905@weber.videotron.net...
> Well, yes and no. I am not a student anymore and I know quite a few
> languages. But not ADA even if I hear of it when I was a student at the
> University. But one student came to me and ask me to do a little thing in
> ADA. So, I read the Lovelace tutorial from the start to the end and still,
I
> wasn't quite able to do anything usefull.
>
> I must say that, being a senior C++ programmer, ADA seems to me like a
> language that isn't very usefull & efficient. Sorry to say but it seems
like
> a languages for dummies! I when to the library to get a book and now I can
> do usefull stuff. The web is not crowded with ADA samples & resources so I
> needed a book! I can't belive this... The community is much smaller than
> what I'm used to (C and C++). But still : it was worth to learn. It maybe
> good for learning and research (i.e. when you're NOT a experienced
> programmmer) but not for real life usage when CPU & ressources are
critical.
> Sorry but learning it doesn't make me a believer ;-)
>

It does not sound like you have learned it yet.
If you really read the information about Ada you would know that Ada
arrays are not resizable. This is the same as with C and C++.

Ada arrays are not the same as C++ vectors.
This does not mean that you cannot create the equivalent of a C++
vector. It is done pretty much the same way it was done in C++.
You would need to dynamically allocate the array you need.
To enlarge the array you need to dynamically allocate the new
array, copy the old elements into the new array, and deallocate
the old array. This is, after all, what C++ does for its vector
class. Why is it not reasonable that Ada would need a similar
solution?

Did you look at www.adapower.com ?
It has a reasonable number of examples, as well as links to
online text books and tutorials.

When you learn Ada you will also learn how to manage CPU and
resource usage. Admittedly, it does not have the feel of C or C++.
You are not programming in a glorified assembler language.
You have at least as much control over data representations as
you have in C or C++. You have the ability to control code
complexity. You have the ability to call assembler routines.

Just what is missing from Ada that you think makes it not
useful for professional work? Just for grins, how many lines
of Ada code do you guess are running in real systems
around the world today?

To be truthful, your posting quoted above sounds like the
efforts of a troll rather than a report of an honest effort to
learn a language.

Jim Rogers





  reply	other threads:[~2002-12-15  4:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-14 15:16 Newbee question Eric Robert
2002-12-14 20:10 ` Jeffrey Carter
2002-12-15  1:49   ` Eric Robert
2002-12-15  4:04     ` James S. Rogers [this message]
2002-12-16 10:32       ` John McCabe
2002-12-16 13:28         ` Marin David Condic
2002-12-17  0:31           ` Randy Brukardt
2002-12-17 15:24             ` Marin David Condic
2002-12-19 10:32               ` Ole-Hjalmar Kristensen
2002-12-15  7:57     ` Pascal Obry
2002-12-15 10:06     ` Jerry van Dijk
2002-12-15 19:04       ` Michal Nowak
2002-12-16 10:33         ` John McCabe
2002-12-16  0:47     ` Eric Robert
2002-12-17  3:23       ` Bill Findlay
2002-12-16 10:28     ` John McCabe
2002-12-17  2:36       ` Eric Robert
2002-12-17  3:24         ` Bill Findlay
2002-12-18  9:37         ` John McCabe
replies disabled

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