Re: perl

[prev] [thread] [next] [lurker] [Date index for 2006/12/26]

From: A. Pagaltzis
Subject: Re: perl
Date: 23:03 on 26 Dec 2006
* Peter da Silva <peter@xxxxxxx.xxx> [2006-12-26 23:40]:
> > I think one major reason PHP "won" is that it's so stupidly easy that  
> > it allows bad programmers to write web apps that, although horribly  
> > ugly, at least work (in some sense of the word). With PHP, "there's  
> > always more than one way to do it" holds true, but in this case, that  
> > usually means a few decent ways and then a whole bunch of really,  
> > really hateful ways which all happen to be much easier than the  
> > decent ways.
> 
> How does this differ from Perl?

    Although the Perl Slogan is There's More Than One Way to Do
    It, I hesitate to make 10 ways to do something.  :-)
                ---Larry Wall in <9695@xxxxxxxxxx.xxx.xxxx.xxx>

PHP does not hesitate. There is only a single s/// operator in
Perl; PHP has 4 different ones. There is only one way to quote
values in Perl's DBI and it's rarely necessary to use it; PHP
gives you 4 ways if you are using MySQL, 3 of which are wrong.
There is only one sort() function in Perl; there are, and I'm
not making this up, 12 array sort functions in PHP.

And the list goes on and on. And on. And on.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>;
There's stuff above here

Generated at 22:02 on 27 Dec 2006 by mariachi 0.52