Comment PHP vs Perl (Score 1) 254
The issue of PHP vs Perl is more an issue of personal taste.
PHP is mostly a subset of perl(in fact, early versions of the PHP interepter were written in perl), with many of the funtionality used to be part of the syntax moved into standard library.
It also has somewhat cleaner OO approach.
The fact that it was designed for the web shouldn't prevent from PHP from spreading other areas, just like the fact Perl was written as admin utility didn't prevent from Perl taking over the web.
Concerning speed, one will have to make lots of benchmarking to find which is faster, althought Zend likes to build lots of hype around's PHP's speed, i have yet to see a real, well done benchmarks of mod_perl vs mod_php, in similiar applications.
Anyhow, I wonder why the article didn't cover Python. It's clean syntax, excellent OO, namespaces, as well as the famous white space many hate, make it very suitable for big projects.
PHP is mostly a subset of perl(in fact, early versions of the PHP interepter were written in perl), with many of the funtionality used to be part of the syntax moved into standard library.
It also has somewhat cleaner OO approach.
The fact that it was designed for the web shouldn't prevent from PHP from spreading other areas, just like the fact Perl was written as admin utility didn't prevent from Perl taking over the web.
Concerning speed, one will have to make lots of benchmarking to find which is faster, althought Zend likes to build lots of hype around's PHP's speed, i have yet to see a real, well done benchmarks of mod_perl vs mod_php, in similiar applications.
Anyhow, I wonder why the article didn't cover Python. It's clean syntax, excellent OO, namespaces, as well as the famous white space many hate, make it very suitable for big projects.