For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > June 2007 > Re: Why PHP instead of Perl?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Why PHP instead of Perl?
larry@portcommodore.com

2007-06-23, 3:58 am

On Jun 21, 6:53 pm, jdoerr <jdo...@verizon.com> wrote:
> Hey, that's the question. I know Perl, so should I learn PHP? I've not
> yet read anything on php.net that tells me.
>
> Thank you,
> -jc


For me, it was syntax readability, I wanted to create programs that
read well. Perl (when I looked at sample code) had a lot of spaghetti
code in which made easy reading the tough.


Jerry Stuckle

2007-06-23, 10:01 pm

larry@portcommodore.com wrote:
> On Jun 21, 6:53 pm, jdoerr <jdo...@verizon.com> wrote:
>
> For me, it was syntax readability, I wanted to create programs that
> read well. Perl (when I looked at sample code) had a lot of spaghetti
> code in which made easy reading the tough.
>
>


I wouldn't say that's typical of all Perl code. As with any language,
there are good programmers and poor programmers, and you can write
spaghetti code in any (or most, anyway :-) ).

I've seen some really good Perl code (and some really bad PHP code).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Tim Streater

2007-06-25, 9:58 pm

In article <1182574694.022848.143940@k79g2000hse.googlegroups.com>,
larry@portcommodore.com wrote:

> On Jun 21, 6:53 pm, jdoerr <jdo...@verizon.com> wrote:
>
> For me, it was syntax readability, I wanted to create programs that
> read well. Perl (when I looked at sample code) had a lot of spaghetti
> code in which made easy reading the tough.


Spaghetti one can work through. Its the unmemorable shortcuts like $_
and friends and the assumption that remembering all this rubbish somehow
makes you more .
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com