Re: Regex on OS X
Re: Regex on OS X
- Subject: Re: Regex on OS X
- From: "Arthur J. Knapp" <email@hidden>
- Date: Wed, 02 Oct 2002 11:51:35 -0400
>
Date: Wed, 02 Oct 2002 14:58:30 +0100
>
Subject: Re: Regex on OS X
>
From: phildobbin <email@hidden>
>
Perl ... Easy to learn and a
[sigh]
>
... Some of the most talented programmers working
>
today are actively involved in Perl.
No one would dispute this. Perl is a wonderful language for advanced
textual parsing, but I must take issue with the claim that it is "easy
to learn".
Perl is great for the experienced programmer/scripter, but it's greatest
strengths for them are it's biggest stumbling blocks for new scripters. The
fact that "there's more than one way to do it" doesn't help someone trying
to learn "any way to do it" for the first time.
Perl is a lanuage that you "graduate" to. In comparison to the other
popular scripting languages of today, (AppleScript, JavaScript, Python,
PHP, Visual Basic, etc...), Perl stands out as exceptionally difficult to
initially grasp.
>
for(reverse(1..100)){$s=($_==1)? '':'s';print"$_ bottle$s of beer on the
>
wall,\n";
>
print"$_ bottle$s of beer,\nTake one down, pass it around,\n";
>
$_--;$s=($_==1)?'':'s';print"$_ bottle$s of beer on the
>
wall\n\n";}print'*burp*';
And there is certainly no lack of evidence for Perl's difficult
learning curve...
P.S. Again, I want to make it clear that I am not knocking Perl. The
entire Internet is practically run on Perl's extradinary talents,
and that is probably a good thing. :)
- TMTOSLOT, (there's more than one scripting language out there) :)
{ Arthur J. Knapp, of <
http://www.STELLARViSIONs.com>
a r t h u r @ s t e l l a r v i s i o n s . c o m
}
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.