From owner-freebsd-questions@FreeBSD.ORG Wed Nov 12 17:37:42 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 86F1A16A4CE for ; Wed, 12 Nov 2003 17:37:42 -0800 (PST) Received: from ms-smtp-01.nyroc.rr.com (ms-smtp-01-qfe0.nyroc.rr.com [24.24.2.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ACB543F75 for ; Wed, 12 Nov 2003 17:37:41 -0800 (PST) (envelope-from leisner@rochester.rr.com) Received: from gateway.home (roc-24-93-18-140.rochester.rr.com [24.93.18.140]) hAD1bWQE007384; Wed, 12 Nov 2003 20:37:33 -0500 (EST) Received: from gateway (leisner@localhost) by gateway.home (8.11.6/8.9.3) with ESMTP id hAD1bUg02673; Wed, 12 Nov 2003 20:37:33 -0500 Message-Id: <200311130137.hAD1bUg02673@gateway.home> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Lucas Holt In-Reply-To: Message from Lucas Holt Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 12 Nov 2003 20:37:30 -0500 From: "Marty Leisner" X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: Alex Kelly 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: Thu, 13 Nov 2003 01:37:42 -0000 I've been programming in C for over 20 years. I've gotten up to speed on C++ for work. I like the expression "in C you can shoot yourself in the foot, in C++ you can blow off your leg". C++ does have advantages -- but I haven't seen most C++ programmers use them -- instead they often obscure the problem at hand by making the implementation more complicated than the problem they're trying to solve. BTW -- I've been doing "object oriented" stuff in C for years -- its harder, but its doable. You have a much simpler language to deal with. First learn how to write good programs in C. Then see if C++ buys you anything extra. If it doesn't, you don't need C++. But I've seen far too much C++ that's just obscure C. Just my experience and opinion. marty