Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 1 Jan 2002 13:43:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 1 Jan 2002 13:43:43 -0500 Received: from bitmover.com ([192.132.92.2]:23174 "EHLO bitmover.com") by vger.kernel.org with ESMTP id ; Tue, 1 Jan 2002 13:43:32 -0500 Date: Tue, 1 Jan 2002 10:43:31 -0800 From: Larry McVoy To: Oliver Xymoron Cc: samson swanson , linux-kernel@vger.kernel.org Subject: Re: a great C++ book? Message-ID: <20020101104331.F4802@work.bitmover.com> Mail-Followup-To: Oliver Xymoron , samson swanson , linux-kernel@vger.kernel.org In-Reply-To: <20020101041111.29695.qmail@web14310.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from oxymoron@waste.org on Tue, Jan 01, 2002 at 12:25:10PM -0600 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 01, 2002 at 12:25:10PM -0600, Oliver Xymoron wrote: > On Mon, 31 Dec 2001, samson swanson wrote: > > > hello again, > > > > i ask this group because i trust in your intellect. > > > > For a beginner to C++ what is your favorite book? A > > book that goes in depth of teaching the language. > > remeber i am a beginner, new to c++. > > If you already know C well, Bjarne Stroustrup's "The C++ Programming > Language" is decent. If not, start with Kernighan and Ritchie's "The C > Programming Language". Put the two next to each other and you might gain > some insight into the creeping horror that modern C++ has become. It's hard to explain a love/hate relationship with C++. I think many systems programmers come to a point where they can "speak" C++ and do so in design conversations all the time, talking about the "objects" and the "methods", etc. But they program in C. This sends a somewhat mixed message to the casual observer who might think that one language or the other is "better". The reality is that you want tp program in a fairly object oriented way but you also want to avoid "the creeping horror that modern C++ has become.". Makes you wonder what would happen if someone tried to design a minimalistic C++, call it the "M programming language", have be close to C with the minimal useful parts of C++ included. I've always said that if I get rich I'm going to fund some extensions to GCC to make associative arrays be a built in type, to make perl like regex's be a first class object, but maybe I was wrong, maybe I want to fund "M" :-) Sort of a moot point, I'm not rich. -- --- Larry McVoy lm at bitmover.com http://www.bitmover.com/lm - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/