comp.lang.ada
 help / color / mirror / Atom feed
From: kcline17@hotmail.com (Kevin Cline)
Subject: Re: Look what I caught! was re:Ada paper critic
Date: 18 Jun 2002 12:16:03 -0700
Date: 2002-06-18T19:16:04+00:00	[thread overview]
Message-ID: <ba162549.0206181116.7649f34d@posting.google.com> (raw)
In-Reply-To: 3d0e5750_2@news.bluewin.ch

Vinzent Hoefler <JeLlyFish.software@gmx.net> wrote in message news:<3d0e5750_2@news.bluewin.ch>...
 
> I got another impression from most Ada program(mer)s I've seen. My
> personal experience shows me that the *hurry, hurry fast, if it works,
> I'll never look at it again* approach is more wide-spread in other
> languages.

Other languages are used by for-profit companies in competitive markets.

Ada tends to be used for long term one-of-a-kind development projects
being paid for by governmental agencies.
>...
> Well, considering how many of those few seconds I already hang around
> with C++ code to see how this or that function is declared and if it
> changes something, this sounds funny. In C++ I can even overload the
> [] operator, this changes the whole world.

You can overload the function-call operator too.  Both are very useful
in the right situation.

>...
> No. Its not a long time ago (was it in c.l.a.?) I read that C arrays
> are one element more on the right and left side because this becomes
> handy in using some algorithms that intentionally might get out of
> bounds. Such a design should make the code easier to write. Well, do
> you call that *right*? I would not.

Knowing so little about C and C++ I would think you would be
more reluctant to criticize them.  A C array does not contain
"one element more" on either side.  The standard allows setting
a pointer to the next element after the end of an array, but
such a pointer can not be dereferenced.



  parent reply	other threads:[~2002-06-18 19:16 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17 17:35 Look what I caught! was re:Ada paper critic Alderson, Paul A.
2002-06-17 18:31 ` Darren New
2002-06-17 21:40 ` Vinzent Hoefler
2002-06-17 23:14   ` Darren New
2002-06-18 14:49     ` Hyman Rosen
2002-06-18 22:36     ` Vinzent Hoefler
2002-06-18 13:28   ` Marin David Condic
2002-06-24 19:17     ` Vinzent Hoefler
2002-06-18 19:16   ` Kevin Cline [this message]
2002-06-18 22:36     ` Vinzent Hoefler
2002-06-19 14:29       ` Wes Groleau
2002-06-19 16:59         ` Darren New
2002-06-19 17:48           ` Wes Groleau
2002-06-19 17:56             ` Darren New
2002-06-19 17:11         ` Frank J. Lhota
2002-06-19 19:31           ` Robert A Duff
2002-06-19 20:02             ` Hyman Rosen
2002-09-24 15:23               ` Matthew Heaney
2002-06-19 19:37         ` Robert A Duff
2002-06-19 13:52 ` 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