From owner-freebsd-questions@FreeBSD.ORG Sat Apr 17 02:56:25 2004 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 4911F16A4CE for ; Sat, 17 Apr 2004 02:56:25 -0700 (PDT) Received: from lilzmailso01.liwest.at (lilzmailso01.liwest.at [212.33.55.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id C68F743D2F for ; Sat, 17 Apr 2004 02:56:22 -0700 (PDT) (envelope-from dgw@liwest.at) Received: from cm217-96.liwest.at ([81.10.217.96]) by lilzmailso01.liwest.at with esmtp (Exim 4.24) id 1BEmYa-0007pP-9L; Sat, 17 Apr 2004 11:56:16 +0200 From: Daniela To: Lucas Holt Date: Sat, 17 Apr 2004 10:50:29 +0000 User-Agent: KMail/1.5.3 References: <200404151110.i3FBAaoo048373@adsl-68-76-19-75.dsl.klmzmi.ameritech.net> <200404162234.05133.dgw@liwest.at> <4BA66CA5-8FF0-11D8-BD38-000A95EFF4CA@foolishgames.com> In-Reply-To: <4BA66CA5-8FF0-11D8-BD38-000A95EFF4CA@foolishgames.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404171050.29467.dgw@liwest.at> cc: freebsd-questions@freebsd.org cc: Miles Lubin Subject: Re: Beginning C++ in FreeBSD 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: Sat, 17 Apr 2004 09:56:25 -0000 On Friday 16 April 2004 21:52, Lucas Holt wrote: > > Why would one need C++ if it's converted to C anyway? > > C++ is useful for programmers that believe in object oriented > methodologies. Some things are easier to do in C++ as well. It all > depends on the programmer. > > You seem to favor assembly languages. I've found that many people into > assembly never seem to get OO and therefore languages like C++ and Java > make no sense to them. Assembly *can be* fast but its not portable. > C was created to make unix portable. C++ was created to add OO > features to C. (as was objective c) I do program in C++ quite often and it does make sense to me. I know seven programming languages and which one I use depends on the program, as I find them all easy. OO languages can be optimized differently than non-OO languages, and when you translate one language into another, this advantage gets lost. I would rather say, assembly is fast and can be portable, if it's done properly. Yes, it is an unforgiving language, but I think beginning programmers need exactly that. Daniela