Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: (OT) PHP Learning experiences

by aaron_baugher (Deacon)
on Nov 17, 2011 at 21:32 UTC ( #938685=note: print w/ replies, xml ) Need Help??


in reply to Re^2: (OT) PHP Learning experiences
in thread (OT) PHP Learning experiences

PHP isn't difficult in the sense that it makes you think hard, like a more terse language like Lisp or something lower-level like assembler. It's difficult in the sense of being annoying and causing extra work, like when you have to look up a function you can't remember because there are way too many and no consistent naming convention. Or when you forget that you have to quote the key in a hash, like $hash['key'] -- except when you don't, like when it's being interpolated in a string between double quotes. Or when you wish you could use Perl's natural-sounding backwards syntax, like next unless $count;

Unpleasant and time-consuming, but not really difficult. If you're capable of programming in Perl, you're certainly capable of using PHP. It has C-style syntax, and it even borrowed Perl's regular expressions (although not every feature of them), so many things will be familiar. Just don't expect it to be as flexible or fun to write in.

Aaron B.
My Woefully Neglected Blog, where I occasionally mention Perl.


Comment on Re^3: (OT) PHP Learning experiences
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://938685]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2014-08-30 01:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls