From: Jeff Carter <jrcarter001@my-deja.com>
Subject: Re: bitwise comparators
Date: 2000/01/17
Date: 2000-01-17T00:00:00+00:00 [thread overview]
Message-ID: <85vmn2$ki1$1@nnrp1.deja.com> (raw)
In-Reply-To: 3882FC1C.2BA8C959@hotmail.com
In article <3882FC1C.2BA8C959@hotmail.com>,
Alexander Van Hecke <alexke@hotmail.com> wrote:
> But as you probably noticed, I have a C background and I'm not that
familiar
> with Ada. I think it's a nice feature of Ada that you can
write 'readable'
> code, but IMHO Ada takes a lot longer to learn, there are more
constructs,
> keywords, etc... In a word, the language is more complicated, yet not
> necessarily more powerfull (hope I don't get flamed for this :-)).
In C you'd
> have one while loop, and you'd put your condition in the while
expression and
> that's it. Nothing more to learn about it!
> What's your opinion on this?
Of course Ada takes longer to learn than C. Ada is a high-level
language (averaging 41 statements to implement a function point) and C
is a low-level language (128 statements/function point). Ada has
packages, private types, exceptions, generics, tasks, protected
objects, block statements, fixed-point types, user-defined numeric
types, true enumeration types, true arrays, and record types with
discriminants, none of which are found in C. C just has integers,
floating-point numbers, pointers, and functions, so of course Ada takes
longer to learn.
As for being "more powerfull", there are different forms of power. The
terseness of C that you refer to is one of its weaknesses, while Ada's
readability is one of the most powerful qualities a language can have.
Ada makes creating and using abstractions easier than C (packages for
encapsulation and information hiding; private types for information
hiding).
Ada makes code reuse easier than C (packages for namespace control;
generics for tailoring).
Ada makes handling exceptional situations easier and more readable
(exceptions and exception handlers; block statements for localizing
scope).
Ada makes concurrent code much easier and more readable (tasks,
protected objects, time types).
--
Jeff Carter
"Now go away or I shall taunt you a second time."
-- Monty Python and the Holy Grail
Sent via Deja.com http://www.deja.com/
Before you buy.
next prev parent reply other threads:[~2000-01-17 0:00 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-15 0:00 bitwise comparators Alexander Van Hecke
2000-01-15 0:00 ` David C. Hoos, Sr.
2000-01-16 0:00 ` Bryce Bardin
2000-01-16 0:00 ` Jeff Carter
2000-01-16 0:00 ` Matthew Heaney
2000-01-16 0:00 ` DuckE
2000-01-17 0:00 ` Alexander Van Hecke
2000-01-17 0:00 ` Jeff Carter [this message]
2000-01-17 0:00 ` Alexander Van Hecke
2000-01-17 0:00 ` Gautier
2000-01-17 0:00 ` Alexander Van Hecke
2000-01-17 0:00 ` David Starner
2000-01-18 0:00 ` Gautier
2000-01-18 0:00 ` Ted Dennison
2000-01-17 0:00 ` David Starner
2000-01-17 0:00 ` Alexander Van Hecke
2000-01-17 0:00 ` David Starner
2000-01-18 0:00 ` Fraser
2000-01-18 0:00 ` Bertrand Augereau
2000-01-19 0:00 ` Ted Dennison
2000-01-19 0:00 ` Marin D. Condic
2000-01-19 0:00 ` Ted Dennison
2000-01-18 0:00 ` Preben Randhol
2000-01-18 0:00 ` Ted Dennison
2000-01-18 0:00 ` Pascal Obry
2000-01-18 0:00 ` Jeff Carter
2000-01-18 0:00 ` Keith Thompson
2000-01-19 0:00 ` Gisle S�lensminde
2000-01-19 0:00 ` Ole-Hjalmar Kristensen
2000-01-19 0:00 ` Jeff Carter
2000-01-19 0:00 ` Keith Thompson
2000-01-19 0:00 ` David Starner
2000-01-21 0:00 ` Ada vs. C/C++ (was re: bitwise something-or-other) Mark Lundquist
2000-01-21 0:00 ` Mark Lundquist
2000-01-24 0:00 ` Hyman Rosen
2000-01-17 0:00 ` bitwise comparators Mike Silva
2000-01-17 0:00 ` Brian Rogoff
2000-02-05 0:00 ` Ashley Deas Eachus
2000-02-05 0:00 ` Jeff Carter
2000-02-06 0:00 ` Andy
2000-02-07 0:00 ` Brian Rogoff
2000-02-09 0:00 ` Robert Iredell Eachus
2000-01-17 0:00 ` Alexander Van Hecke
2000-01-17 0:00 ` Gautier
2000-01-17 0:00 ` David Starner
2000-01-17 0:00 ` Mike Silva
2000-01-18 0:00 ` Charles Hixson
2000-01-17 0:00 ` tmoran
2000-01-17 0:00 ` Matthew Heaney
2000-01-17 0:00 ` Gautier
2000-01-18 0:00 ` Keith Thompson
2000-01-19 0:00 ` Ole-Hjalmar Kristensen
2000-01-17 0:00 ` David C. Hoos, Sr.
2000-01-18 0:00 ` DuckE
2000-01-18 0:00 ` Ted Dennison
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox