Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Greetings fellow Perl Monks,

I just got off IM with the manager of local computer school's training. He's something like a "dean" of this computer science school, except the school is a public training company, not an academic university. Anyway, I've been hiring grads from his school for the last year or so, and while they have good PHP skills and generally can pick up Perl fast, I've been really concerned about their lack of initial Perl skills. Here's a run-down of the conversation:

Gryphon: I was wondering about my volunteering to teach some Perl coursework. Off the record, I really like the "can do" attitude of <school name> grads, but I'm concerned that they claim they can code Perl but haven’t even heard of CPAN.
Dean: We use Perl for CGI in the web program and don't get that far.
Gryphon: Right, but even Perl for CGI should have a CPAN intro.
Dean: Perhaps, but PHP in the .NET environment is so much more powerful. I see more and more developers coming into the job market with PHP skills rather than Perl.
Gryphon: Yeah, but I'm not sure that the job market is there yet. I see a lot more jobs for Perl than PHP these days.
Dean: PHP works beautifully in Cold Fusion.
Gryphon: So? Why would you want to use PHP in CF?
Dean: Fact is that PHP and Cold Fusion are better choices than Perl.

What could I have said at this point? Anything other than hard numbers or well-written documentation would have been brushed aside and ignored.

I know this topic has come up again and again here on PerlMonks and elsewhere, but I have not yet found anything solid I can throw at people like "Dean" in situations like this. I can only toss over anecdotal pseudo evidence, personal experience, and incomplete benchmark test results. Obviously, his last statement is based 90% on religious bigotry, and I'd like to have a complete resource that all but proves how wrong he is.

In a production environment, Perl runs just as fast as PHP and much faster than CF. Properly configured, mod_perl will run just as fast as compiled C++ (in my experience at least). But even if Perl was slightly slower, so what? Adding CPU, RAM, and disk space is ridiculously cheap. Ultimately, the cost of a software language choice is in development time pre-launch and engineering operational support post-launch. Regardless, CF isn't free. Perl is. PHP isn't bad, it's just limited. With CPAN, I can do just about anything (and I do mean anything) in Perl. What's that quote? "Over 90% of any Perl application is already written." That's an amazingly powerful concept that is lost on anyone who's not familiar with CPAN, which is most non-Perl and junior Perl people.

So here's the problem: We all know these truths to be self-evident, that not all scripting languages are created equal. The rest of the world apparently does not know and needs evidence to prove the case. I'd like to work on developing something that compares the aspects of Perl, PHP, CF, .NET, JSP, and perhaps a few others. Has anyone found anything like this? I'm not talking about an article of a couple pages in length that compares PHP and Perl, giving the reader warm-fuzzies about each language. I need hard and cold facts that will make the CF/.NET zealots reexamine their beliefs.

gryphon
code('Perl') || die;


In reply to Yet Another Perl/PHP/CF/NET Comparison Question by gryphon

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found