Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Perl vs. PHP

by perrin (Chancellor)
on Aug 13, 2004 at 19:05 UTC ( [id://382800]=note: print w/replies, xml ) Need Help??


in reply to Perl vs. PHP

Your PHP complaints are far too low-level. The big problem with PHP is that it has essentially no way to encapsulate things or share code safely. See this article for more.

Replies are listed 'Best First'.
Re^2: Perl vs. PHP
by nikos (Scribe) on Aug 13, 2004 at 19:36 UTC
    what about php5? they've added a nice class support.
      Classes are better, but they still have no namespaces. Everything is in one global namespace.
        Classes are better, but they still have no namespaces. Everything is in one global namespace.

        Just being devils advocate for a minute: How is this different from Perl?

        Perl mangles the package and class concepts together - it doesn't really have namespaces either (in the sense they are used in C#, C++, Smalltalk, etc.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-25 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found