From owner-freebsd-questions@FreeBSD.ORG Wed Nov 12 15:24:40 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9ED2E16A4CE for ; Wed, 12 Nov 2003 15:24:40 -0800 (PST) Received: from catseye.mine.nu (d154-5-164-0.bchsia.telus.net [154.5.164.0]) by mx1.FreeBSD.org (Postfix) with SMTP id B62DF43FDD for ; Wed, 12 Nov 2003 15:24:39 -0800 (PST) (envelope-from catseye@catseye.mine.nu) Received: (qmail 22376 invoked by uid 1001); 12 Nov 2003 23:27:24 -0000 Date: Wed, 12 Nov 2003 15:27:24 -0800 From: Chris Pressey To: "Alex Kelly" Message-Id: <20031112152724.2b15af72.cpressey@catseye.mine.nu> In-Reply-To: <002c01c3a8c1$a4651bb0$6400a8c0@desktop> References: <002c01c3a8c1$a4651bb0$6400a8c0@desktop> Organization: Cat's Eye Technologies X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Newbie: The C / C++ Issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 23:24:40 -0000 On Tue, 11 Nov 2003 21:06:51 -0500 "Alex Kelly" wrote: > Thanks for all of the great suggestions to my previous question! > > Yet, the responses have led me to another question. If C++ is newer > and more advanced than C, will it replace C? Unlikely. Old languages die hard - it's a bit scary to think of all the systems out there that are still running programs written in FORTRAN, COBOL, Business BASIC, and MUMPS (and incidentally will continue to run those programs until it becomes cost-ineffective to do so - which is to say, probably indefinately.) > If so, should I learn C++ and forget C? If you want an appreciation of how computers actually work, learn the language that many call "portable(ish) assembly code" - C. If you don't really care how computers actually work, and you just want an elegant way to specify algorithms, learn Haskell. If you want something in-between, learn Erlang. And if you want a job in a cubicle, learn C++ or Java. Just MHO, -Chris