View Single Post
  #20 (permalink)  
Old 07-09-09, 15:44
JeremyWJ JeremyWJ is offline
BOD Member
 
Join Date: May 2009
Posts: 98
Default

Quote:
Originally Posted by Christina View Post
Yes, I agree with you Perl is very messy and can become quite unreadable. But when it is compared to PHP, it is very powerful. It allows you to do powerful coding in a very short coding segments.
I'm sorry, but I have to completely disagree with you on Perl being more powerful than PHP.

In fact, in many areas, Perl just can't do things PHP can do as well as PHP can.

1) PHP can be embedded in HTML, Perl can not be.

2) PHP is generally secure, Perl is a lot less secure.

3) PHP has great built-in database support, Perl does not.

4) PHP code is very organized. By this I mean its consistent. Perl is a mess.

5) Generally PHP is much faster than Perl.

When it comes to writing dynamic code for websites, honestly, there is no better language out there than PHP.

PHP does everything Perl does (and more), so your statement about Perl being more powerful is incorrect.

Since PHP has those 5 things I just mentioned over Perl, and the fact that it is much easier to write, and it runs on almost any platform (as does Perl), I see PHP going no where.

In fact, this is kind of a stupid topic considering current trends show more and more web developers switching to PHP.
__________________
Jeremy J

* Bodhost VPS Linux Account Holder
* Network Information Systems Professional
Reply With Quote