NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
PHP - not as bad as everybody says (Score:1)
Yeah, PHP isn't really quite as terrible as many people say. Especially now that it has a decent OO syste
Re:PHP - not as bad as everybody says (Score:2)
But, seriously: its OO system is pretty decent.
In comparison to Perl, I do find standard Perl's flattening of lists, much easier to work with than PHP's arrays. Very often, it results in a much small number of required code lines for selected snippets in Perl than in PHP, for the same functionality.
PHP's popularity has much more to do with its ease of deployme
Re:PHP - not as bad as everybody says (Score:1)
Superior to what? If I could easily write in any language I would probably still be using Lisp for most of my code :-)
Given a choice between PHP and Perl I'd certainly pick Perl. Given a choice between PHP and Java - I'm not so sure.
Yeah it's hideously idiosyncratic in places, but it's got a vaguely decent OO system (in some ways better than Perl's) and it's sitting on every w
Re:PHP - not as bad as everybody says (Score:2)
Re:PHP - not as bad as everybody says (Score:1)
That wasn't my intent. It's a non-trivial improvement certainly, but you can still write reasonable code without that much effort in PHP4.
PHP3 on the other hand :-)
I'm just agreeing with Ovid that the seeming instinctual reaction of some Perl developers to start frothing at the mouth and spitting venom at the merest hint that PHP can do useful stuff does more harm than good.
Reply to This
Parent