Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Mar 2002 17:00:33 -0800
From:      Rob <rob@pythonemproject.com>
To:        Kenneth Culver <culverk@alpha.yumyumyum.org>
Cc:        Nate Williams <nate@yogotech.com>, 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:  <3C856A31.260BAA83@pythonemproject.com>
References:  <20020305193028.H6706-100000@alpha.yumyumyum.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I program in Python for just about everything, mainly because I can read
and understand my own code a month later :)
C is OK for readability.  C++ and Fortran just suck IMHO.  I have no
opinion on Java.   Rob.

Kenneth Culver wrote:
> 
> > 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.
> >
> > 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.)
> >
> > I can get more done in a shorter period of time with Java than with C++.
> > However, when speed is of the issues, the computer get more done in a
> > shorter amount of time with C than I can with either Java/C++.
> >
> > My Java programs can often-times run *faster* than my own C++ programs,
> > simply because Java (the language) makes it easier to produce a good
> > design.  I don't find the limitations to be limitations so much, and
> > they tend to force me to do better design up front.  Both are OOP
> > languages, but C++ *feels* like a non-OOP language with some hooks to
> > make it more OOP like.  (I'd like to play with Smalltalk, but alas
> > there's no market for it, and there's no time left in my day to work on
> > what I need to get done, let alone for things like playing with ST.)
> >
> > C++ in it's simple form *can* be easier to maintain, but it rarely turns
> > out that way.  As programmers, it's difficult to not succumb to the
> > temptation to use the latest/greatest feature of the language, since at
> > the time it certainly *seems* like it would help things out in the
> > long-term. :)
> >
> > Finally, well-written/optimized C++ code is an abomination to look at,
> > and requires sacrificing small animals at alters whenever you need to
> > modify it. :)
> >
> >
> >
> I need to learn to say what I mean in a better manner. I've been trying to
> say the last comment for this whole thread and just couldn't get it into
> words. Thanks.
> 
> Ken
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-chat" in the body of the message

-- 
The Numeric Python EM Project

www.pythonemproject.com

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?3C856A31.260BAA83>