From owner-freebsd-hackers Tue Mar 5 8:49:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail4.nc.rr.com (fe4.southeast.rr.com [24.93.67.51]) by hub.freebsd.org (Postfix) with ESMTP id 94AB837B402 for ; Tue, 5 Mar 2002 08:49:12 -0800 (PST) Received: from i8k.babbleon.org ([66.57.85.154]) by mail4.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Tue, 5 Mar 2002 11:48:07 -0500 Received: by i8k.babbleon.org (Postfix, from userid 111) id 530B5BA03; Tue, 5 Mar 2002 11:47:31 -0500 (EST) Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: "Kenneth Mays" , vel@bugz.infotecs.ru, freebsd-hackers@FreeBSD.ORG Subject: Re: C vs C++ Date: Tue, 5 Mar 2002 11:47:31 -0500 X-Mailer: KMail [version 1.3] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020305164731.530B5BA03@i8k.babbleon.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tuesday 05 March 2002 11:28 am, Kenneth Mays wrote: > > Fact is, managers may understand that the code in C++ is easier to read and > maintain. This I must disagree with. Most of the time, I think that C++ is harder to read *and* maintain. Well-written C++ is probably easier to read and maintain, but it's harder to write C++ well, and just telling everybody to switch compilers won't help at all -- it's likely to obfuscate the code more. If you want the benefits you've got to re-train everybody to use C++ *well*, which doesn't seem to be what was being suggested in this case. Besides, it's not C++ that provides whatever questionable benefits it provides; it's OO methodology which can come in handy, and there are more elegant OO solutions than C++ around. > There are reasons to use C++ because of the software engineering > methodology and beliefs of its superioriy of C. If that real or not is up > to you and the rest of the world. > > Ken Mays > > > _________________________________________________________________ > Join the world’s largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- 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-hackers" in the body of the message