Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Perl myths ?

by zby (Vicar)
on Feb 23, 2004 at 12:11 UTC ( [id://331080]=note: print w/replies, xml ) Need Help??


in reply to Perl myths ?

It's obvious that the reason perl lost so much market share for PHP are the difficulties with mod_perl. I would blame here a variation of the TIMTONWTDI concept. There are just too many ways to set up the mode_perl environment - so every server has some slightly different setup and each requires some local guidelines for every developer.

Since the famous "C Programming Language" it is generally accepted that the best way to learn a programming language is to start as soon as possible to write simple "Hello World" programs in it. But there is no one way to write and install such a program in mode_perl that would be guaranteed to work at once on every server.

Replies are listed 'Best First'.
Re^2: Perl myths ?
by adrianh (Chancellor) on Feb 23, 2004 at 14:24 UTC
    It's obvious that the reason perl lost so much market share for PHP are the difficulties with mod_perl. I would blame here a variation of the TIMTONWTDI

    Of course we are only talking about one specific market here - web applications. PHP is certainly not making in-roads in the use of Perl for system administration, testing, build management, telecommunications, etc.

    I don't think that the number of different ways of setting up mod_perl is the issue. The reason PHP is used more is that it's basically impossible to setup mod_perl for a shared hosting environment in a secure way. PHP does it out of the box.

      I am patient. I listen to some of my workmates expressly prefere PHP to Perl. That's an understatement. "Deride Perl in favour of PHP" might be a better phrase for it. Now, I might prefere PHP to Perl on occasion if only for the fact that I am a novice to each. But I think that's beside the point.

      The fact of the matter is, I prefere Perl on easthetic and social grounds. It feels "good". But that does not defend the language from its critics (AFAIK). (Though I think it should be a consideration when choosing your tools. Provided that what you choose isn't wildly inapropriate)

      What bothers me is the insistant statement that "Language X sucks" etc, without supporting information, or very little. Further, when it occures in my environment, I am at a loss to really compare the two, and I feel that I shouldn't have to. So, Perl does not yet get a good defense from me, and thus gets less use. *sigh*

      So, my reply is really a question:: What are the best social actions that can make these debates clear and without malice?

      thanks,
          willy :)
      
      

      $state->{tired} = "true";
        What are the best social actions that can make these debates clear and without malice?

        Don't be malicious seems the simplest answer :-)

        Don't use emotional language over non-emotional issues. You cannot argue reasonably at somebody who says "Foo sucks", you can with somebody who says "Foo does X and it should do W because of Y".

        If somebody says "Perl sucks" (or "PHP sucks" or whatever), ask why. Deal with the reason rather than the emotion. If they're not willing to talk rationally then walk away. It's just not worth the trouble.

        Also remember that language choice isn't just one of "technical" merit. There are many, in a narrow sense of the word, non-technical issues in picking a language.

        If all of your previous development work is in C++, all your developers are experienced in C++, and your development infrastructure is built around C++ then (not very surprisingly) C++ might be a better choice than Perl - even if Perl is a better technical choice for a particular problem. The overhead of introducing a new language is more than any benefit it might bring.

        Why has PHP got such mind share? Because it's easily and securely installed by default on most ISPs virtual hosting boxes - and mod_perl cannot be - so there are a lot more people who can potentially use PHP code on their W3 site. Yes PHP doesn't have some features that make programming in the large simpler, but you can work around those with discipline. You cannot work around the complete absence of mod_perl. Because of this PHP has more of a lock on the low-end web site world that runs on shared boxes.

        Fortunately I don't spend a lot of time coding in that world, so I use languages that are more appropriate for my particular environment. However, I wouldn't criticise somebody else's language choice in a completely different context.

        As other people have pointed out other "bad" languages like COBOL and Forth are still in widespread usage because they perform extremely well in specific contexts.

        Hell, I'd probably be using Lisp in many of the places I currently use Perl if I could be guaranteed the same level of availability :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (1)
As of 2024-04-25 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found