comp.lang.ada
 help / color / mirror / Atom feed
From: Mark Lundquist <mark@rational.com>
To: alexke@hotmail.com
Subject: Re: Ada vs. C/C++ (was re: bitwise something-or-other)
Date: 2000/01/21
Date: 2000-01-21T00:00:00+00:00	[thread overview]
Message-ID: <388940A0.19D4DA60@rational.com> (raw)
In-Reply-To: 388905E0.81FEFBC5@rational.com

Once again, I am the first (maybe only) person to follow up on my _own_
posting... how pathetic, how typical... :-)

But some editorial corrections are in order...

Mark Lundquist (c'est moi) wrote:

> ...

> 1) I assume we're talking about C here, not C++.  I think C++ is a lot harder
> to learn than Ada, because     while it's roughly the same in "size", it has a
> lot of deep concepts (like "const correctness", linkage, etc.) that are not
> only arcane, but are hightly cross-coupled, so that you kind of have to
> understand all of it and keep your brain wrapped around it all in order to
> really get any of it right.

The following should have been in parentheses, because... well, it's
parenthetical!  It reads as if I thought Alex were arguing a particular point
(viz. C knowledge making it easier to learn C++) and I'm arguing back against
it.  But he wasn't arguing that, so don't get me wrong.  Some people have argued
this (in fact it's one of the "core values" of C++), but like I said... in this
context, it's parenthetical.

>  For this reason, I don't think knowing C gives
> one any real advantage when it comes to learning C++ vs. learning Ada.
> Instead, what it gives you is a false sense that "I'm already halfway there",
> which gives you the hope you need to keep trying to learn the screwy
> language!  You're not really halfway there, but it helps to think you
> are... :-)

OK, next...

> So, we have:
>
> In Ada                                 In C
> -----                                 ---
>
> packages                              "header file / implementation file"
> convention
>
> private types                        ???
>
> exceptions                            "you can program it",
> setjmp()/longjmp(), whatever
>
> generics                                structs & callbacks
>
> tasks                                      threads

My little table was obligingly reformatted by Netscape :-( so it came out all
screwy.Row 1 column 1 should read "packages", and row 1 column 2 should read
"'header file / implementation file' convention".  Row 3, column 2 should read
"'you can program it', setjmp()/longjmp(), whatever".
(Note, the row and column numbers start at 1... :-) sorry, very bad joke...)

-- Mark






  reply	other threads:[~2000-01-21  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 ` DuckE
2000-01-17  0:00   ` Alexander Van Hecke
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     ` 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         ` Mike Silva
2000-01-18  0:00           ` Charles Hixson
2000-01-17  0:00         ` David Starner
2000-01-17  0:00         ` Gautier
2000-01-17  0:00     ` David C. Hoos, Sr.
2000-01-17  0:00     ` Jeff Carter
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 [this message]
2000-01-24  0:00           ` Hyman Rosen
2000-01-18  0:00     ` bitwise comparators Ted Dennison
2000-01-18  0:00     ` DuckE
2000-01-16  0:00 ` Matthew Heaney
replies disabled

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