From owner-freebsd-questions@FreeBSD.ORG Wed Nov 12 09:27:41 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 38DE416A4CF for ; Wed, 12 Nov 2003 09:27:41 -0800 (PST) Received: from mail-relay1.mirrorimage.net (mail-relay1.mirrorimage.net [209.58.140.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 127D043FBD for ; Wed, 12 Nov 2003 09:27:40 -0800 (PST) (envelope-from leblanc@mirrorimage.net) Received: from leblanc.mirrorimage.net (leblanc.mirrorimage.net [209.192.210.146]) by mail-relay1.mirrorimage.net (8.9.3/8.9.3) with ESMTP id MAA02915 for ; Wed, 12 Nov 2003 12:27:26 -0500 Received: from leblanc.mirrorimage.net (localhost [127.0.0.1]) hACHReMG068388 for ; Wed, 12 Nov 2003 12:27:40 -0500 (EST) (envelope-from leblanc@leblanc.mirrorimage.net) Received: (from leblanc@localhost) by leblanc.mirrorimage.net (8.12.8p1/8.12.8/Submit) id hACHRefn068387 for freebsd-questions@freebsd.org; Wed, 12 Nov 2003 12:27:40 -0500 (EST) Date: Wed, 12 Nov 2003 12:27:40 -0500 From: Louis LeBlanc To: freebsd-questions@freebsd.org Message-ID: <20031112172739.GE29400@keyslapper.org> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.4i Subject: Re: Another Newbie Question: C or C++ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 17:27:41 -0000 On 11/12/03 12:09 PM, yo _ sat at the `puter and typed: > >I would recommend not trying to learn C or C++ by yourself from a book. > >The fastest (and best way) to learn the right stuff is to take coursework > >from a university or community college. > > Not that I like disagreeing for no good reason, but I wholeheartedly > disagree with that statement. > > >If the courses are any good, you'll get feedback, and you'll be paced > >and challenged with projects designed to help you learn. > > > >Going it alone in an unguided environment will only familiarize you > >the lesser aspects of a language, if you last that long. The difficult > >and most important aspects of the language (like pointers, virtual > >functions, references) will become almost insurmountable trial-and-error > >obstacles if you try to teach yourself. > > If you want to get a lower paying and boring job programming in C/C++ for > whatever reason and have a piece of paper that says you can have that job, I > recommend wasting 4-6 months taking a course in your spare time to learn > C/C++. If you want to be top of your game and learn C/C++ without wasting > time on topics that take you a minute to understand, get a good book, > practice the topics you have learned at your own pace, get numorous code > examples for things you may want to do (sockets, GUI, OpenGL, ncurses, > threading, kernel interfacing) from the glorious and infinite internet and > emulate good programming style (using const qualifiers in C++, using > #defines in C, etc.). Also be prepared to teach yourself because you may not > always be prepared for a job you may find yourself with; learn how to easily > learn and use external libraries. > > The best programmers will teach themselves. A statement that may be on the > borderline of opinion to fact by constant example. After all the first > programmer, in fact, taught herself. > -Rian Hunter I seem to remember another common saying: "A person who is self taught has a fool for a teacher" Not that I entirely disagree with your statement, but the "first programmer" if I understand your meaning, never presented her first attempt for approval to the current codeset - at least I didn't get the memo. All I have is the secondhand publishing of several different, and mostly conflicted sets of operating instructions, most of which are even self conflicting. So self taught isn't necessarily right the first time - unless the docs are all forged :) Then again, I could be entirely mistaken about your meaning, so feel free to ignore my babble before flaming (in fact, please do :). Besides, every person is different. Some people need some degree of structure to focus them. Others do better on a 'spur of the moment' schedule, where they spend time learning when it will be productive. I go for a walk down the middle of these perfectly valid, if fundamentalist, approaches. A person who only learns in school never learns outside of school. OTOH, a person who avoids structured learning environments will have a hard time in other structured environments. Most of my C++ knowledge was gained in school. My much more extensive C knowledge was entirely self taught. Yes, I do have the occasional pointer mishap, but I doubt there are many people who don't. Lou -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Old Japanese proverb: There are two kinds of fools -- those who never climb Mt. Fuji, and those who climb it twice.