comp.lang.ada
 help / color / mirror / Atom feed
From: Alexander Van Hecke <alexke@hotmail.com>
Subject: Re: bitwise comparators
Date: 2000/01/17
Date: 2000-01-17T19:28:18+00:00	[thread overview]
Message-ID: <38836CF2.AB738B8B@hotmail.com> (raw)
In-Reply-To: 85vmn2$ki1$1@nnrp1.deja.com

This seems like an attack on C/C++!  I'm sorry, but I have to react on this

> Ada has
> packages,

C was ment to be used modular and for reuse : put your code in separate .c
and .h files.

> private types,

C has that!

> exceptions,

you can program exceptions in C.  I never said that C has all these things,
but you can program them, and there are masses of libraries available that
have just what you need.

> generics,

use structs and callback functions and you have perfect generic types!

> tasks,

threads


true enumeration types, true arrays,
enumeration types in Ada are no different than they are in C.  Just because
you have some fancy attributes (SUCC, PRED) doesn't mean that they are
different or more powerful!  You can write functions that do exactly the
same, even more, these functions have already been written numerous times
and are available.
With true arrays, do you mean out of bound checking, etc?  This can be done
with _proper_ programming in C!

none of which are found in C.
^^^^^^^^^^^^^^^^^^^^^^^
ahum.

> C just has integers, floating-point numbers, pointers, and functions, so
> of course Ada takes
> longer to learn.
>
> Ada makes creating and using abstractions easier than C (packages for
> encapsulation and information hiding; private types for information
> hiding).

Would you agree that C++ is just as good in that as Ada.  Don't forget that
ANY C++ code can be easily translated into C?
For that matter, everything else you mentioned (namespace control, (easy)
generics, exceptions and exception handlers, typing) is easily achieved in
C++ (and thus C).

As I have said already a few times, and as I said in my original post : I
THINK IT'S A NICE FEATURE OF ADA THAT YOU CAN WRITE READABLE CODE, BUT THAT
DOES NOT NECESSARILY MEAN THAT THE LANGUAGE IS MORE POWERFUL!  It might be
easier to use once you've mastered it, but it also is harder to learn.

excuse me for being so impolite, but I had to get this off my chest.

alex






  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 ` Jeff Carter
2000-01-16  0:00 ` Bryce Bardin
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
2000-01-17  0:00       ` Alexander Van Hecke [this message]
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             ` Jeff Carter
2000-01-19  0:00               ` Keith Thompson
2000-01-19  0:00               ` David Starner
2000-01-19  0:00             ` Ole-Hjalmar Kristensen
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 Gautier
2000-01-18  0:00       ` Keith Thompson
2000-01-19  0:00         ` Ole-Hjalmar Kristensen
2000-01-17  0:00     ` Matthew Heaney
2000-01-17  0:00     ` tmoran
2000-01-17  0:00     ` 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     ` 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