comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: Faulty languages and Liability
Date: Tue, 18 Jun 2002 09:10:15 -0400
Date: 2002-06-18T13:10:17+00:00	[thread overview]
Message-ID: <aenbfp$m0t$1@nh.pace.co.uk> (raw)
In-Reply-To: 3D0EC296.8070504@mail.com

Well, there's certainly a lot of good reasons to learn about and understand
"foreign" languages. While I've been an Ada programmer for a long time, I am
currently employed doing C and C++ and in the past have used a variety of
fairly obscure languages such as Jovial for production work. There's much to
be learned, even if your favorite language doesn't change.

I don't personally have any problem with C/C++ bashing so long as the
criticisms are fair and that one always remembers that there are good
reasons - often beyond the technical - why other languages are used. But its
nice to have you here to defend C++, so keep it up. (Otherwise, where's the
sport in it? :-)

As for automatic template instantiations, I know enough about them to see
that they have potential problems to cause things to happen behind one's
back - which is one of the common complaints here about C/C++ in general.
(Type conversions go on without one's knowledge & consent being a common
source of errors.) However, I can see your point about how it would make
unit conversions less painful. Call it a difference in priorities. Ada wants
to be sure that nothing happens without the programmer having deliberately
decided to do it. Good for safety - bad for convenience. (automatic
instantiation might have made I/O in Ada a whole lot less painful!) C++
gives you convenience - but you sacrifice safety & can start asking for some
really hard to detect bugs. (Probably it creates testing difficulties as
well if you have really stringent test requirements.)Which is better? It
depends on what's important to you. I'd obviously opt for Ada because over
the years, I've grown to appreciate the safety & bug reduction
characteristics.

Anyway, I'm glad I understand what brings you here. Maybe we'll succeed in
making a convert out of you. :-) At least there's likely to be a "Don't
dismiss Ada so casually..." voice in the C++ community.

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com


"Hyman Rosen" <hyrosen@mail.com> wrote in message
news:3D0EC296.8070504@mail.com...
>
> I consider myself somewhat of a programming language hobbyist.
> I hang out here (as well as on comp.std.c++ and comp.lang.c++.moderated)
> because I find the level of discourse, and of the participants, to be high
> (yourself included). I don't dislike Ada at all, and I find it
entertaining
> to defend C++ against unfair claims here, as well as to post "Ada does it
> much better this way" on the C++ groups.
>
> There's also a certain amount of silver bulletness here that's fun to
> puncture :-)
>
> I find it very instructive, as I learn more about Ada, to try to figure
> out the essential differences between Ada and C++ and how those
differences
> affect the expressiveness of the language. For example, I recently had an
> epiphany regarding the difference between Ada's explicit generic
instantiations
> and C++'s automatic template instantiations. It's why you can't do units
easily
> in Ada, and why local variables can't be template parameters in C++.
>
> And as C++ moves to adopt concurrent programming (which is almost certain
to
> happen in the next revision), I'm hoping (and urging) that the people
involved
> understand how Ada does it, so we don't wind up with a stupid hodgepodge.
That
> doesn't mean that it should look the same in C++, but they should
understand
> why certain decisions were made.
>





  reply	other threads:[~2002-06-18 13:10 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-16  2:10 Faulty languages and Liability David Botton
2002-06-16  3:18 ` Lyle McKennot
2002-06-16  4:58   ` Robert C. Leif
2002-06-16  4:58 ` Robert C. Leif
2002-06-16 11:52   ` Hyman Rosen
2002-06-16 13:07     ` Larry Kilgallen
2002-06-17 14:56       ` Marin David Condic
2002-06-18  5:00         ` Hyman Rosen
2002-06-18 13:35           ` Chad R. Meiners
2002-06-18 14:59             ` Hyman Rosen
2002-06-18 19:25               ` Wes Groleau
2002-06-19 17:18           ` Robert I. Eachus
2002-06-19 19:31             ` Larry Kilgallen
2002-06-19 17:57           ` Wes Groleau
2002-06-16 14:33     ` David Botton
2002-06-16 18:28     ` Mike Silva
2002-06-17  0:48       ` Hyman Rosen
2002-06-17  4:09         ` David Botton
2002-06-17 12:59           ` Larry Kilgallen
2002-06-17  7:04         ` Mike Silva
2002-06-17  8:29         ` AG
2002-06-17 13:21           ` Hyman Rosen
2002-06-17 14:37             ` Larry Kilgallen
2002-06-17  3:16     ` Robert C. Leif
2002-06-17 13:36       ` Hyman Rosen
2002-06-17 14:51         ` Larry Kilgallen
2002-06-17 14:26           ` Hyman Rosen
2002-06-17 15:55             ` Larry Kilgallen
2002-06-17 16:29             ` Marin David Condic
2002-06-18  5:18               ` Hyman Rosen
2002-06-18 13:10                 ` Marin David Condic [this message]
2002-06-18 21:27             ` Robert A Duff
2002-06-18 20:02           ` John Kern
2002-06-18 22:17             ` Larry Kilgallen
2002-06-19 15:47               ` John Kern
2002-06-19 18:06                 ` Larry Kilgallen
2002-06-17 16:25         ` Marin David Condic
2002-06-18 19:29           ` Wes Groleau
2002-06-19 12:58             ` Marin David Condic
2002-06-17 19:00         ` Mike Silva
2002-06-17 20:38           ` Hyman Rosen
2002-06-18  3:45             ` Mike Silva
2002-06-18 15:11               ` Hyman Rosen
2002-06-18 15:54                 ` chris.danx
2002-06-18 18:01                   ` Marin David Condic
2002-06-18 17:12                 ` Larry Kilgallen
2002-06-17 19:00         ` Mike Silva
2002-06-17 20:27           ` Hyman Rosen
2002-06-17 21:07             ` Marin David Condic
2002-06-18  1:09             ` Chad R. Meiners
2002-06-18  4:52               ` Hyman Rosen
2002-06-18 13:49                 ` Chad R. Meiners
2002-06-18 14:15                   ` Marin David Condic
2002-06-19 12:35                     ` Larry Kilgallen
2002-06-19 14:20                       ` Marin David Condic
2002-06-20 13:50                         ` Larry Kilgallen
2002-06-20 16:53                           ` Wes Groleau
2002-06-20 18:56                             ` Larry Kilgallen
2002-06-20 15:21                         ` Hyman Rosen
2002-06-21 17:21                           ` Matthew Woodcraft
2002-06-21 22:00                             ` Robert A Duff
2002-06-23  4:50                               ` Hyman Rosen
2002-06-23  9:13                                 ` Matthew Woodcraft
2002-06-23 10:29                                   ` Hyman Rosen
2002-06-23 13:21                                     ` Matthew Woodcraft
2002-06-23 18:24                                       ` Hyman Rosen
2002-06-23 19:27                                 ` Pat Rogers
2002-06-24  2:50                                   ` Hyman Rosen
2002-06-24 14:05                                     ` Pat Rogers
2002-06-18  6:14             ` Mike Silva
2002-06-18  8:53             ` newsfraser
2002-06-18 19:33               ` Wes Groleau
2002-06-18 12:49             ` Steve O'Neill
2002-06-18 13:49               ` Marin David Condic
2002-06-17  7:34     ` AG
2002-06-18 21:17       ` Robert A Duff
2002-06-16 22:26 ` Ted Dennison
2002-06-17 14:38 ` Marin David Condic
2002-06-18  8:57 ` chris.danx
2002-06-19  0:34   ` tmoran
2002-06-19 20:28 ` Mike Silva
replies disabled

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