comp.lang.ada
 help / color / mirror / Atom feed
From: "Marius Amado Alves" <amado.alves@netcabo.pt>
To: <comp.lang.ada@ada-france.org>
Subject: Re: A couple of questions
Date: Sat, 1 May 2004 11:56:04 -0700
Date: 2004-05-01T11:56:04-07:00	[thread overview]
Message-ID: <mailman.42.1083405494.313.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: c6usqs$31m$1@sparta.btinternet.com


Yeric <NOSPAM@NOSPAM.com> wrote in message
news:c6usqs$31m$1@sparta.btinternet.com...
> Hello,
>
> I am new to ADA95 but not to programming in general, I know a little
C/C++,
> but have a strong VB background.

Welcome! You can now start writing Ada not ADA as your first rite of passage
:-)

> I have been trying to move away from VB for a while now, I do not like the
> language (my explanations could cover a book, so I will spare you all),
> which is bizzare seeing as I know it so well, but then maybe it isnt so
> bizzare :)

Don't bother :-)

> I have been trying to get to grips with C++ for about 7 months, but have
> been struggling. with pointers or more precisely pointers to pointers and
> arrays of pointers to arrays of functions, my head feels like it is going
to
> melt at times.

A pointerless mind. Good. In Ada you very rarely need to use pointers
(called access types and values in Ada). And when you do she will work hard
to save you from shooting yourself in the foot. Ada 2005 will improve on
this camp further. With the standard container library, you can forget about
pointers entirely. Passing functions will be maximally simplified. Generics
will be more powerfull.

> I am in now way rubbishing C++ I believe that every programming language
has
> a niche, and fits somewhere, even VB for prototyping and small
applications.

Once you have the right environment setup, Ada is good for programming in
the small also. I do all my 'scripting' in Ada.

> I have read a few articles about Design by contract and find the concept
> interesting, and wondered how ADA is able to handle this if at all?

Generic units provide a LOT of contract.

> I have already had a good read of LAW tutorial and find the whole thing
very
> interesting, and ADA syntax to be fairly straightforward to follow.

The syntax is indeed very easy. And most of the language behaves as
expected. In some specific idioms the semantics gets in your way. Stay away
from limited types.

> I see there is also good support for interfacing with other applications,
> most noticeable COM/DCOM very useful if working in a Windows environment.

And there are alternatives. GWindows, JWEL, Claw, GtkAda.

> I am surprised not to see ADA so widely publicised like so many other well
> known programming languages around, I know there is plenty of info on the
> net, but not really anywhere else.

There are books. Good ones BTW.

> What niche does ADA fit into, I notice that it prides itself on embedded
> systems, does it have any other special areas apart from what I can see in
> military domains, or is it a good all rounder?

I use Ada for artificial intelligence, text processing, web systems,
database systems...

(A "couple of questions" uh? :-)





  parent reply	other threads:[~2004-05-01 18:56 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-01  1:00 A couple of questions Yeric
2004-05-01  5:12 ` James Rogers
2004-05-01  9:56 ` Martin Krischik
2004-05-01 15:12 ` Yeric
2004-05-01 15:37   ` Ed Falis
2004-05-02 16:48     ` Martin Krischik
2004-05-02 22:39       ` Jeff C,
2004-05-03  7:10         ` Martin Krischik
2004-05-03 19:11           ` Hyman Rosen
2004-05-04  6:45             ` Martin Krischik
2004-05-01 16:04   ` Ludovic Brenta
2004-05-01 17:47   ` Dennis Lee Bieber
2004-05-02  0:13   ` Jeffrey Carter
2004-05-02  1:00   ` Marius Amado Alves
2004-05-01 18:53     ` Yeric
2004-05-01 20:16       ` Ludovic Brenta
2004-05-01 22:25         ` Yeric
2004-05-01 23:38           ` Ed Falis
2004-05-02 12:00             ` Yeric
2004-05-02 13:29               ` Ed Falis
2004-05-02 21:44               ` Marius Amado Alves
2004-05-02  4:18       ` Marius Amado Alves
2004-05-02  8:55       ` Georg Bauhaus
2004-05-02 10:48         ` Martin Dowie
2004-05-02 11:30           ` Georg Bauhaus
2004-05-02 15:30       ` Pascal Obry
2004-05-01 18:56 ` Marius Amado Alves [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-05-02  1:53 Marius Amado Alves
replies disabled

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