Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2002 22:01:45 -0500
From:      Brian T.Schellenberger <bts@babbleon.org>
To:        nate@yogotech.com (Nate Williams), Kenneth Culver <culverk@alpha.yumyumyum.org>
Cc:        Terry Lambert <tlambert2@mindspring.com>, "Steve B." <steveb99@earthlink.net>, "Eugene L. Vorokov" <vel@bugz.infotecs.ru>, <freebsd-chat@FreeBSD.ORG>
Subject:   Re: C vs C++
Message-ID:  <20020306030145.01E6ABA03@i8k.babbleon.org>
In-Reply-To: <15493.24457.986109.726909@caddis.yogotech.com>
References:  <3C8529DA.FA8ABCE@mindspring.com> <20020305164151.T5854-100000@alpha.yumyumyum.org> <15493.24457.986109.726909@caddis.yogotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 05 March 2002 07:15 pm, Nate Williams wrote:
> [ moved to -chat ]
>
> > > Because that underlying assumption is false, and I'm making
> > > fun of it.
> >
> > Well, that in itself is wrong. C++ code IS harder to write and write
> > correctly and effeciently, as I would assume it is for any OO language.
>
> Not so.  Having done C professionally for umpteen years, C++ for a
> little less than umpteen years, and Java for 4, I can say w/out
> reservation that C++ sucks.  OOP programming doesn't *have* to be hard.
> C++ puts too many roadblocks in your way.

Amen to that.

> It not just because Java is newer that it's displacing C++ as the
> primary development language.  It's because C++ as a language is *NOT*
> well-designed (design my commitee).  C is becoming more and more like
> C++ in this regard.  (And before Terry starts whining about strongly
> typed languages, let me state that IMO strongly typed languages are a
> good thing, since they allow you to verify your code at *COMPILE* time,
> vs. at runtime.)

Actually the problem isn't that it's designed by committee.  The problem is 
that it's UNdesigned--and that is *deliberate*.  Read Stoustup (sp?)--he 
explicitly *rejected* the idea of having a philosophy of the language--he 
sees it as limiting the languages utility.  This, naturally, leads to the 
PL/I of the C family--an unholy mess of a lanaguage.

I was working on a debugger and we were exploring C++ and we kept having 
meetings where we would discover another revelation about C++ and our jaws 
would drop and go you can do WHAT???   Are they INSANE????

It's really awful.

Objective C, for exmaple, is a much better C-based OO language

I wouldn't recommend C++ to anybody for anything myself.

-- 
Brian T. Schellenberger . . . . . . .   bts@wnt.sas.com (work)
Brian, the man from Babble-On . . . .   bts@babbleon.org (personal)
                                ME -->  http://www.babbleon.org
http://www.eff.org   <-- GOOD GUYS -->  http://www.programming-freedom.org 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020306030145.01E6ABA03>