From owner-freebsd-questions@FreeBSD.ORG Sun Jan 8 14:41:20 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B030516A41F for ; Sun, 8 Jan 2006 14:41:20 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07E0A43D62 for ; Sun, 8 Jan 2006 14:41:09 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Evbiz-0004KN-OC for freebsd-questions@freebsd.org; Sun, 08 Jan 2006 15:40:49 +0100 Received: from c-24-147-87-49.hsd1.ma.comcast.net ([24.147.87.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jan 2006 15:40:49 +0100 Received: from jdarnold by c-24-147-87-49.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jan 2006 15:40:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: JD Arnold Date: Sun, 08 Jan 2006 09:40:59 -0500 Organization: Amazing Developments Lines: 53 Message-ID: References: <200601021656.33323.nb_root@videotron.ca> <20060103155314.11865.qmail@web33315.mail.mud.yahoo.com> <20060107213816.GA2286@flame.pc> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-24-147-87-49.hsd1.ma.comcast.net User-Agent: Thunderbird 1.5 (Windows/20051201) In-Reply-To: <20060107213816.GA2286@flame.pc> Sender: news Subject: Re: Programming Book(s) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2006 14:41:20 -0000 Giorgos Keramidas wrote: > On 2006-01-07 15:25, JD Arnold wrote: >> Danial Thom wrote: >>> --- Nicolas Blais wrote: >>>> On January 2, 2006 04:52 pm, Sean wrote: >>>>> Sean wrote: >>>>>> Looking for recommendations on any Unix programming books. I have >>>>>> been out of things for a while so I would put my skill level back >>>>>> to the beginning. >>>>> I forgot to mention that I wish to work withC/C++ >>>> There's a free C++ book which is great: >>>> http://mindview.net/Books/TICPP/ThinkingInCPP2e.html >>>> You can also buy the hardcopy on Amazon. >>> I'd recommend learning C before C++. In order to be an effective unix >>> programmer you must master the C language, as you'll have to examine >>> and modify code in C to do anything substantial. Virtually all major >>> programs and kernels are 'C' based. >> I think, in general, this is wrong. > > I think, in general, this is right. > >> And I think many "professionals" also feel that learning C++ is the >> way to go. If you just learning, you might as well start with >> C++. For many good reasons, see Stroustrup's answer himself: >> >> http://public.research.att.com/~bs/learn.html > > Which essentially boils down to "learn C++ it's better and easier to > learn". I very much disagree, but this is another flamewar, I guess. > > Danial is right that there are many large programs out there that are > written in C, not C++. This means that just learning C++ and hoping to > "cope with it" when an 11,000,000-line monster, written in plain C, > comes along is just not going to cut it. > > Thus, "learn both" is a good answer, but I understand that this may be > quite impossible some times. Jeez, you make it sound like the difference between C and C++ is like the difference between learning English or learning Russian. I find it difficult, if not impossible. to believe that someone who knew C++ would be in any way shape or form be forced to "cope" with any gazillion line C program. They'd probably be itching to do it better and more safely, but if they were even the slightest bit proficient in C++, they'd know pretty quickly what was going on in any C program. And the opposite is absolutely not true. -- Jonathan Arnold (mailto:jdarnold@buddydog.org) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are.