From: Ole-Hjalmar Kristensen <ohk@clustra.com>
Subject: Re: Desirability of C++
Date: 2000/05/02
Date: 2000-05-02T00:00:00+00:00 [thread overview]
Message-ID: <umqzoq9ifzi.fsf@gong2.clustra.com> (raw)
In-Reply-To: 390DDA32.BDC215E8@maths.unine.ch
Gautier <gautier.demontmollin@maths.unine.ch> writes:
> Hyman Rosen:
>
> > What does that mean? C++ functions can return things other than integers
> > and pointers, and there is a simple way in C++ to make arrays with bounds
> > but no OO bloat.
>
> Sorry if I'm wrong - maybe it is the over-abundance of C-like sources.
You can do it in C as well. Example
typedef struct foo{
float re;
float im;
}foo;
foo bar(){
foo foo1;
return foo1;
}
> Is there an online, HTML ISO standard reference ?
> For the arrays, I'd really like to see the way you program things like
> "procedure Some_algo( A: matrix; x: out vector; b: vector ) is..."
> with "A'range(1)" and so on, with possibility of having bound checking on.
>
No luck with range checking or array bounds, you have to use vector
classes to get that.
> > While C++ syntax can sometimes be abysmal, I am 100% convinced that the
> > main reason for the lack of Ada's popularity is its Pascal-derived syntax.
>
> Hum... and how do you explain the huge popularity of Turbo/Borland Pascal ?
> The lack of Ada's popularity until the past few years (thanks to GNAT) is
> rather due to the refrigerating effect of the policy the DoD had - IMHO.
> And the fact Ada came too early for the 16-bit, low Mhz personal computer wave.
>
It was cheap, very fast compile times, IDE, produced reasonable code,
and had extensions to standard Pascal which made it useful. The fact
that it was Pascal did not matter much, I think.
BTW., personally I don't care whether you write {} or BEGIN/END.
> About syntax: I think it's rather a question of personal taste and practice.
>
> Is it worse to have the eye swimming from an ill-formatted over-uppercased
> Ada source than from a mass of {&*^++[) spotted among tricky identifiers and
> some comments trying to half-hide, half-explain what happens on the left ?
>
> Simply, there is a great variety of writing styles, in C, Ada,.... There are
> Fortran-like Ada sources, Pascal-like C or Fortran sources, and so on...
>
> _____________________________________________
> Gautier -- http://members.xoom.com/gdemont/
--
E pluribus Unix
next prev parent reply other threads:[~2000-05-02 0:00 UTC|newest]
Thread overview: 176+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-04 0:00 where can we get a job with ada HollymaN
2000-02-03 0:00 ` David Kristola
2000-02-04 0:00 ` EKoerber
2000-02-04 0:00 ` Ted Dennison
2000-02-04 0:00 ` Brian Rogoff
2000-02-05 0:00 ` David Kristola
2000-02-06 0:00 ` Simon Brady
2000-02-07 0:00 ` Gareth
2000-02-07 0:00 ` Ted Dennison
2000-02-07 0:00 ` Simon Brady
2000-02-07 0:00 ` Kent Paul Dolan
2000-02-07 0:00 ` Gareth
2000-02-08 0:00 ` Kent Paul Dolan
2000-02-11 0:00 ` where can we ... [off topic] Nick Roberts
2000-02-12 0:00 ` where can we get a job with ada Jeff Carter
2000-02-07 0:00 ` Ted Dennison
2000-02-28 0:00 ` Florian Weimer
2000-02-29 0:00 ` Ted Dennison
2000-03-01 0:00 ` Wes Groleau
2000-03-04 0:00 ` Robert B. Love
2000-03-05 0:00 ` Ted Dennison
2000-03-05 0:00 ` Ada on International Space Station (Re: where can we get a job with ada) Vladimir Olensky
2000-03-08 0:00 ` Robert B. Love
2000-03-08 0:00 ` Jean St-Pierre
2000-03-08 0:00 ` Vladimir Olensky
2000-04-03 0:00 ` Andrew Thomas Wilson
2000-04-12 0:00 ` David Hoffman
2000-04-13 0:00 ` Robert B. Love
2000-04-14 0:00 ` Desirability of C++ (was Re: Ada on International Space Station (Re: where can we get a job with ada)) David Kristola
2000-04-14 0:00 ` Wes Groleau
2000-04-14 0:00 ` Desirability of C++ Stanley R. Allen
2000-04-14 0:00 ` Marin D. Condic
2000-04-15 0:00 ` Tarjei T. Jensen
2000-04-15 0:00 ` Marin D. Condic
2000-04-15 0:00 ` Tarjei T. Jensen
2000-04-17 0:00 ` Alfred Hilscher
2000-04-17 0:00 ` Gautier
2000-04-18 0:00 ` Pascal Obry
2000-04-18 0:00 ` Tarjei T. Jensen
2000-04-18 0:00 ` Gautier
2000-04-28 0:00 ` Richard D Riehle
2000-05-02 0:00 ` Tarjei T. Jensen
2000-04-23 0:00 ` David Kristola
2000-04-18 0:00 ` Tarjei T. Jensen
2000-04-17 0:00 ` Alfred Hilscher
2000-04-17 0:00 ` Marin D. Condic
2000-04-17 0:00 ` Gary Scott
2000-04-28 0:00 ` Richard D Riehle
2000-04-30 0:00 ` Robert B. Love
2000-05-01 0:00 ` Richard D Riehle
2000-05-01 0:00 ` E. Robert Tisdale
2000-04-30 0:00 ` Keith Thompson
2000-05-01 0:00 ` E. Robert Tisdale
2000-05-01 0:00 ` Keith Thompson
2000-05-01 0:00 ` Tarjei Tj�stheim Jensen
2000-05-01 0:00 ` Gautier
2000-05-01 0:00 ` Pascal Obry
2000-05-01 0:00 ` Gautier
2000-05-01 0:00 ` Ted Dennison
2000-05-01 0:00 ` Tarjei Tj�stheim Jensen
2000-05-01 0:00 ` Gautier
2000-05-01 0:00 ` E. Robert Tisdale
2000-05-01 0:00 ` Pat Rogers
2000-05-01 0:00 ` David Starner
2000-05-01 0:00 ` Florian Weimer
2000-05-01 0:00 ` tmoran
2000-05-01 0:00 ` David Starner
2000-05-01 0:00 ` Lionel Draghi
2000-05-02 0:00 ` Florian Weimer
2000-05-01 0:00 ` Ted Dennison
2000-05-01 0:00 ` Tarjei Tj�stheim Jensen
2000-05-01 0:00 ` Ted Dennison
2000-05-02 0:00 ` Preben Randhol
2000-05-02 0:00 ` Florian Weimer
2000-05-02 0:00 ` Application in Ada (was Desirability of C++) Jean-Pierre Rosen
2000-05-02 0:00 ` Ted Dennison
2000-05-02 0:00 ` Jean-Pierre Rosen
2000-05-03 0:00 ` Tarjei Tj�stheim Jensen
2000-05-03 0:00 ` Ted Dennison
2000-05-01 0:00 ` Desirability of C++ Pat Rogers
2000-05-01 0:00 ` Ted Dennison
2000-05-01 0:00 ` E. Robert Tisdale
2000-05-01 0:00 ` Pat Rogers
2000-05-01 0:00 ` Gautier
2000-05-01 0:00 ` David Starner
2000-05-01 0:00 ` E. Robert Tisdale
2000-05-01 0:00 ` Pat Rogers
2000-05-01 0:00 ` Michael P. Walsh
2000-05-01 0:00 ` Pat Rogers
2000-05-01 0:00 ` E. Robert Tisdale
2000-05-02 0:00 ` Bill Greene
2000-05-01 0:00 ` Marin D. Condic
2000-05-01 0:00 ` Hyman Rosen
2000-05-01 0:00 ` Tarjei Tj�stheim Jensen
2000-05-01 0:00 ` tmoran
2000-05-02 0:00 ` Al Christians
2000-05-02 0:00 ` Tarjei T. Jensen
2000-05-02 0:00 ` Preben Randhol
2000-05-02 0:00 ` Keith Thompson
2000-05-02 0:00 ` Strings TP/Ada (was Desirability of C++) Gautier
2000-05-03 0:00 ` Desirability of C++ Tarjei T. Jensen
2000-05-03 0:00 ` Robert A Duff
2000-05-02 0:00 ` Gautier
2000-05-02 0:00 ` Jean-Pierre Rosen
2000-05-02 0:00 ` Gautier
2000-05-02 0:00 ` Jean-Pierre Rosen
2000-05-03 0:00 ` Marin D. Condic
2000-05-03 0:00 ` Jean-Pierre Rosen
2000-05-03 0:00 ` Wes Groleau
2000-05-04 0:00 ` Robert I. Eachus
2000-05-05 0:00 ` Marin D. Condic
2000-05-03 0:00 ` Robert A Duff
2000-05-03 0:00 ` Jean-Pierre Rosen
2000-05-02 0:00 ` Robert A Duff
2000-05-03 0:00 ` Robert I. Eachus
2000-05-03 0:00 ` Robert A Duff
2000-05-04 0:00 ` Robert I. Eachus
2000-05-03 0:00 ` Tarjei T. Jensen
2000-05-03 0:00 ` Pascal Obry
2000-05-03 0:00 ` Paul Graham
2000-05-03 0:00 ` Pascal Obry
2000-05-03 0:00 ` Paul Graham
2000-05-03 0:00 ` Robert A Duff
2000-05-04 0:00 ` Ole-Hjalmar Kristensen
2000-05-04 0:00 ` Preben Randhol
2000-05-04 0:00 ` Ole-Hjalmar Kristensen
2000-05-04 0:00 ` Preben Randhol
2000-05-04 0:00 ` Pascal Obry
2000-05-05 0:00 ` Gautier
2000-05-04 0:00 ` Ole-Hjalmar Kristensen
2000-05-03 0:00 ` Robert A Duff
2000-05-03 0:00 ` Delphi Strings (was Re: Desirability of C++) Ray Blaak
2000-05-02 0:00 ` Desirability of C++ Gautier
2000-05-01 0:00 ` Gautier
2000-05-01 0:00 ` Brian Rogoff
2000-05-02 0:00 ` Gautier
2000-05-02 0:00 ` Ole-Hjalmar Kristensen [this message]
2000-05-02 0:00 ` Richard D Riehle
2000-05-01 0:00 ` Ted Dennison
2000-05-07 0:00 ` ANTHONY GAIR
2000-05-07 0:00 ` Robert Dewar
2000-05-07 0:00 ` Hyman Rosen
2000-05-07 0:00 ` ANTHONY GAIR
2000-05-08 0:00 ` Hyman Rosen
2000-05-09 0:00 ` Pascal Obry
2000-05-11 0:00 ` wv12
2000-05-11 0:00 ` Warner Bruns
2000-05-18 0:00 ` Warner Bruns
2000-05-19 0:00 ` ANTHONY GAIR
2000-05-24 0:00 ` Richard Kenner
2000-05-18 0:00 ` ANTHONY GAIR
2000-05-11 0:00 ` Frank J. Lhota
2000-05-07 0:00 ` Richard D Riehle
2000-05-07 0:00 ` ANTHONY GAIR
2000-05-08 0:00 ` Pascal Obry
2000-05-08 0:00 ` Ehud Lamm
2000-05-08 0:00 ` Larry Kilgallen
2000-05-08 0:00 ` Stanley R. Allen
2000-05-09 0:00 ` Richard D Riehle
2000-05-08 0:00 ` Mario Klebsch
2000-05-08 0:00 ` E. Robert Tisdale
2000-05-08 0:00 ` Gautier
2000-05-09 0:00 ` Stanley R. Allen
2000-05-10 0:00 ` Alfred Hilscher
2000-05-10 0:00 ` Mario Klebsch
2000-05-01 0:00 ` Tarjei Tj�stheim Jensen
2000-05-01 0:00 ` Ken Garlington
2000-04-29 0:00 ` Ada on International Space Station (Re: where can we get a job with ada) Chris Johnston
2000-05-01 0:00 ` Ted Dennison
[not found] ` <7EA1B852F5D4D8C6.26EEE9181C8Reply-To: Kilgallen@eisner.decus.org.nospam <Ij4OaidfGTH8@eisner.decus.org>
2000-05-01 0:00 ` Desirability of C++ E. Robert Tisdale
2000-05-01 0:00 ` Larry Kilgallen
2000-03-22 0:00 ` where can we get a job with ada Florian Weimer
2000-03-05 0:00 ` David Kristola
2000-02-04 0:00 ` Stanley R. Allen
2000-02-04 0:00 ` Stanley R. Allen
2000-02-06 0:00 ` David Tannen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox