From owner-freebsd-questions Wed Jul 19 4:44:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (zoom0-093.telepath.com [216.14.0.93]) by hub.freebsd.org (Postfix) with SMTP id 51F9D37B580 for ; Wed, 19 Jul 2000 04:44:09 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 6691 invoked by uid 100); 19 Jul 2000 11:43:20 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14709.37976.840719.309808@guru.mired.org> Date: Wed, 19 Jul 2000 06:43:20 -0500 (CDT) To: questions@FreeBSD.ORG Subject: Re: Scripting In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > From: Linh Pham > Many people use PERL and Python for web scripting. Yup. I've used both for that, but these days prefer Python. > Python is more like C and Java than Perl, which makes it a little easier > to learn. PERL is quite pwerful, but can be a pain in the rump to learn. I found it to be just the opposite. Then again, Perl borrows from awk, sed, and sh (at the very least) as well as C, and I knew all of those before I started Perl. Python's is OO to the heart, which has an upside and a downside. The downside is that you can't write even simple scripts without knowing at least the syntax for dealing with objects. The upside is that things that are deep, dark magic in Perl are standard OO things in Python - once you've found them. That last bit pretty much covers the differences in learning the languages. The really esoteric tricks in Python are simple and obvious - but poorly documented. The really esoteric tricks in Perl are really esoteric, but properly documented.