* Peter da Silva <[email protected]> [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 <[email protected]>
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/>