Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: perl vs. php

by sauoq (Abbot)
on Nov 15, 2005 at 16:33 UTC ( #508672=note: print w/ replies, xml ) Need Help??


in reply to perl vs. php

are there advantages over doing it in php over perl?

There is one big one that's probably more relevant from your boss's perspective than from yours. When you leave the project or the company, it'll be a lot easier (and probably cheaper) to find a competent PHP developer who can take it over.

Will I have a difficult time since I've done almost no php?

It depends on you, of course. I do think that Perl programmers have a tendency to think of PHP as dysfunctional Perl and that tendency makes their learning curve slightly steeper. There are annoying syntax similarities that sometimes disguise the fact that the languages are not at all alike below the surface. Still, it's an easy language to learn and you shouldn't have that much difficulty given that you already have substantial programming experience. If you do go that route, just try to keep in mind that PHP is not Perl. (Deja vu... I've said some of this before at Re: Perl is more intuitive.)

The one thing that makes me pause is your description of this project as "major". I think Perl definitely has some (or, at least, can have some) advantages for a larger project, especially if you have more than a very small handful of people working on it.

† More specifically, when you finally perish in a brief and tragic meeting with a runaway bus which is, as all management knows, the inevitable fate of anyone who becomes too familiar with the evil technical details of any project.

‡ Similarities that probably exist because PHP was originally a Perl program.

-sauoq
"My two cents aren't worth a dime.";


Comment on Re: perl vs. php
Re^2: perl vs. php
by Aristotle (Chancellor) on Nov 15, 2005 at 19:30 UTC

    it’ll be a lot easier (and probably cheaper) to find a competent PHP developer who can take it over.

    Et tu, sauoq?

    Makeshifts last the longest.

      Et tu, sauoq?

      Now, now... I don't feel like I'm betraying anyone by telling the truth. There are droves of PHP programmers and, more to the point, they all do web work because that's what PHP is really for. Even if there were just as many Perl programmers we are split among application, systems, and web development. Admittedly, there is lots of overlap... but that's part of what makes us more expensive.

      Yes, you can write standalone PHP scripts. No, no one does it. Not seriously anyway. I hope.

      -sauoq
      "My two cents aren't worth a dime.";
      

        No, what I’m saying is more along the lines of Kevin Barnes’ latest article. I don’t believe you should hire a “Perl programmer” or a “PHP programmer,” specifically.

        Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-12-29 11:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (186 votes), past polls