Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Mar 2002 12:17:37 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Kenneth Culver <culverk@alpha.yumyumyum.org>
Cc:        "Eugene L. Vorokov" <vel@bugz.infotecs.ru>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: C vs C++
Message-ID:  <3C8527E1.1654879F@mindspring.com>
References:  <20020305132147.B4700-100000@alpha.yumyumyum.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kenneth Culver wrote:
> > This is a serious concern for console tools, which are interacting with
> > humans, which are capable of providing commands much faster than a
> > 1.5GHz processor can accept and dispose of them...  sorry I missed this
> > downside in my first response.
> 
> I'm not sure if you are being sarcastic or not, but if you are, it is
> definitely not appreciated. C code is generally easier to make more simple
> than C++. That said, gui code is probably better written in C++ since the
> whole idea of objects lends itself to that. However, daemons/console based
> progs don't really have any real reason to be written in C++ becuase that
> usually adds a lot of code that doesn't need to be there, such as using
> classes to do things that don't lend themselves to that.

"A good programmer can write FORTRAN in any language."

If you are getting "usually adds a lot of code that doesn't
need to be there, such as using classes to do things that
don't lend themselves to that", then you need to look at
your programmers, not at the tools they are using.

-- Terry

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C8527E1.1654879F>