comp.lang.ada
 help / color / mirror / Atom feed
From: aidan@skinner.demon.co.uk (Aidan Skinner)
Subject: Re: Ada vs Delphi?
Date: 1999/08/09
Date: 1999-08-09T00:00:00+00:00	[thread overview]
Message-ID: <slrn7qu0f1.q4.aidan@skinner.demon.co.uk> (raw)
In-Reply-To: 37ae1fc8.653954@news.clara.net

On Mon, 09 Aug 1999 01:38:17 GMT, Paul Groves <paulyg@clara.net> wrote:

>>eliminate the risk of memory leaks.  Delphi has no counterpart.  In Delphi
>>it is easy to create memory leaks.
>Isn't it just as 'easy' to "create memory leaks" in Ada?

Not if you use Ada.Finalization.Controlled

>Delphi (Pascals) pointer types are just like Ada's access
>types so the same is possible in both languages.

Except if you derive a type from Controlled (or Limited_Controlled)
you can put automatic memory deallocation code into a procedure which
is automatically called when the object is destroyed. You don't have
to do it by hand every time.

>>  Ada is more stronly typed.  In Delphi different types may be freely mixed

>I was not aware of this.  Delphi is based strongly on
>Pascal, which has one of the most securely enforced type

Other people have pointed out that it's possible to define multiple
types of one base type 

>>  Ada supports overloading of operators, functions, and procedures.
>Not always a good thing.

No, but then giving people a text editor is not always a good
thing. <g>

Overloading, when used properly, allows people to do sensible things
like have input/output procedures called "Put" and "Get" for every type.

>I'm not a fan of Ada.  The only *truely* well-defined
>language that I ENJOY using is Pascal...

Have you seriously tried Ada? It's very similar to Pascal in good
ways, and different from Pascal in good ways as well. It's not without
fault, but it's a lot better than most as a general purpouse
programming language.

- Aidan (still does scripting in sh)
-- 
Gimme money, gimme sex, gimme UNIX and root access.
http://www.skinner.demon.co.uk/aidan/




  parent reply	other threads:[~1999-08-09  0:00 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-06  0:00 Ada vs Delphi? Andre Ratel
1999-08-06  0:00 ` Steve Doiel
1999-08-09  0:00   ` Paul Groves
1999-08-08  0:00     ` Steve Doiel
1999-08-10  0:00       ` Ray Blaak
1999-08-10  0:00         ` Steve Doiel
1999-08-14  0:00           ` Andre Ratel
1999-08-09  0:00     ` Robert Dewar
1999-08-09  0:00     ` Robert Dewar
1999-08-11  0:00       ` Andre Ratel
1999-08-11  0:00         ` Robert Dewar
1999-08-14  0:00           ` Andre Ratel
1999-08-17  0:00             ` Robert I. Eachus
1999-08-11  0:00         ` Robert Dewar
1999-08-11  0:00           ` David Botton
1999-08-14  0:00           ` Andre Ratel
1999-08-11  0:00         ` Ted Dennison
1999-08-14  0:00           ` Andre Ratel
1999-08-16  0:00             ` Ted Dennison
1999-08-09  0:00     ` Gautier
1999-08-11  0:00       ` Andre Ratel
1999-08-12  0:00         ` Gautier
1999-08-12  0:00         ` Gautier
1999-08-14  0:00           ` Andre Ratel
1999-08-14  0:00             ` Gautier
1999-08-16  0:00               ` Gautier
1999-08-15  0:00             ` Steve Doiel
1999-08-17  0:00             ` Robert I. Eachus
1999-08-09  0:00     ` Aidan Skinner [this message]
1999-08-10  0:00     ` Brian Rogoff
1999-08-11  0:00       ` Scientific calculations (was Re: Ada vs Delphi? ) Vladimir Olensky
1999-08-11  0:00         ` Robert Dewar
1999-08-11  0:00           ` Vladimir Olensky
1999-08-13  0:00             ` Gautier
1999-08-13  0:00             ` Robert Dewar
1999-08-13  0:00               ` Brian Rogoff
1999-08-15  0:00               ` Vladimir Olensky
1999-08-15  0:00                 ` Vladimir Olensky
1999-08-11  0:00         ` Robert Dewar
1999-08-11  0:00     ` Ada vs Delphi? Andre Ratel
1999-08-11  0:00       ` Robert Dewar
1999-08-14  0:00         ` Andre Ratel
1999-08-11  0:00       ` Ada vs Component Pascal (was: Ada vs Delphi?) Ted Dennison
1999-08-06  0:00 ` Ada vs Delphi? William Starner
1999-08-06  0:00   ` William Starner
1999-08-07  0:00   ` tmoran
1999-08-07  0:00     ` Aidan Skinner
1999-08-07  0:00       ` Gautier
1999-08-07  0:00 ` Gautier
replies disabled

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