From owner-freebsd-questions@FreeBSD.ORG Sun Oct 7 14:21:23 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2028516A418 for ; Sun, 7 Oct 2007 14:21:23 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-75.bluehost.com (outbound-mail-75.bluehost.com [69.89.20.10]) by mx1.freebsd.org (Postfix) with SMTP id E3DC913C4B8 for ; Sun, 7 Oct 2007 14:21:22 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 10722 invoked by uid 0); 7 Oct 2007 14:21:22 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by mailproxy4.bluehost.com with SMTP; 7 Oct 2007 14:21:22 -0000 Received: from c-24-9-123-251.hsd1.co.comcast.net ([24.9.123.251] helo=demeter.hydra) by box183.bluehost.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1IeX0U-00089n-3Y for freebsd-questions@freebsd.org; Sun, 07 Oct 2007 08:21:22 -0600 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id l96Gex6w061440 for ; Sat, 6 Oct 2007 10:40:59 -0600 (MDT) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id l96GexoS061439 for freebsd-questions@freebsd.org; Sat, 6 Oct 2007 10:40:59 -0600 (MDT) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Sat, 6 Oct 2007 10:40:58 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20071006164058.GC61195@demeter.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <972994690710061253q483e26ber68f4716d3202d1fa@mail.gmail.com> <20071006201356.GB55336@slackbox.xs4all.nl> <972994690710061329t10b4eb49j8c95a539eec2bbe9@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.net} {sentby:bopbeforesmtp 24.9.123.251 authed with apotheon.com} X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box183.bluehost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [737 12] / [47 12] X-AntiAbuse: Sender Address Domain - apotheon.com Subject: Re: C++ Compiler On FreeBSD 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, 07 Oct 2007 14:21:23 -0000 On Sun, Oct 07, 2007 at 12:07:59AM +0000, Aryeh Friedman wrote: > > PHP isn't really a programming language. It's more a fancy templating > > system that happens to be able to use extensions that can provide C > > style linkage. That said, I laude you for your desire to learn a real > > programming language, and agree with the recommendation that you start > > with something a bit higher level. Perl, for example, ships with > > absolutely top-notch documentation, and generally speaking, its > > third-party extensions have similar documentation quality. > > Ruby is *VERY* easy to learn and there are many online and offline > books for teaching it (or depending on your personal ideals on > bittorrent)... it has one advantage over perl it much less > syntactically ugly Perl gets a lot of bad press for its syntax. It's mostly undeserved, however. I think the two things about Perl that contribute most to that reputation are: 1. sigils on variables (there's a widespread unreasoning hatred of this language characteristic in some circles) 2. the fact that OOP in Perl actually *is* very ugly -- even if the rest of the language isn't As Paul Graham has been known to say (even if he wasn't talking about Perl specifically, at the time), real ugliness isn't harsh-looking syntax; it's having to build programs using the wrong concepts. Perl's full of ways to use the *right* concepts, as long as you don't misuse it like most of the code at Matt's Script Archive does. That's a not-so-subtle hint to avoid Matt's Script Archive if you're looking for examples of good Perl code. Perlmonks is much better for that. On the other hand, Aryeh Friedman is right that Ruby is very easy to learn, and it too is an excellent language. It's also much better (in my opinion at least) for learning object oriented programming techniques than Perl. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Brian K. Reid: "In computer science, we stand on each other's feet."