Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: J2EE is too complicated - why not Perl?

by cybear (Monk)
on Dec 10, 2003 at 20:32 UTC ( #313855=note: print w/replies, xml ) Need Help??

in reply to J2EE is too complicated - why not Perl?

- cybear Ok, my turn.

PERL is more that sufficient for enterprise-class computing. The only people (that I've encountered, no offence implied) that disagree are "Enterprise-class" software salesmen, I mean salespeople.

I have a suite of FTP applications, writen in PERL whenever I was allowed to use PERL, that handle upwards of 1 million files, 1 billion megs of data, each year. Guess what parts break. The parts that are NOT PERL.

My question is: has anyone come up with an effective way of getting MORE PERL in their enterprise. When I mention PERL my resident Java programmer starts writhing in pain and my managers eyes glaze over.

  • Comment on Re: J2EE is too complicated - why not Perl?

Replies are listed 'Best First'.
An Experiment: J2EE is too complicated - why not Perl?
by coreolyn (Parson) on Dec 10, 2003 at 21:05 UTC

    Here's an experiment you can do to see the difficulties involved in bringing Perl into the enterprise:

    1. Write some standards (i.e., use strict, -w, include pod comments, etc)
    2. Write a simple application (irrelevant as to size/functionality)
    3. Have someone add new functionality to your script utilizing the same standards
    4. Have a third programmer review and implement the results

    Track all time required to communicate to successfully complete the experiment and multiply times the number of programmers in a large organization.

    I don't like having to be negative on this subject, but Perl is what Perl does. If a language doesn't enforce standards you have to rely on the coders... This is like trusting your business to M$.

    I do not doubt that there are shops where this is a silly experiment, however out of some 1500 programmer/analysts in the corp I am of only a dozen or so utilize Perl, and I don't think any of us like each others particular style and we all dread touching each others code.

      Are you aware of how little standardization in coding actually exists in J2EE? When I was writing Java code at a recent job, I had to work on some other people's code that was just horrendous. The Sun coding guidelines really just scratch the surface, and most people don't even follow those unless you make them. Things like exception handling, use of recent language additions, choice of libraries, etc. make it fairly difficult for Java programmers to just share code without lots of talking and agreement on standards. Perl certainly allows a much wider range (e.g. beginners can write ugly code with globals and no warnings), but within a group of experienced coders with good style and agreed standards it is no harder to share Perl code than it is to share Java.

        I don't dispute this at all, and am at ground zero of the mess. My point is that with Perl the management hasn't invested in the success of Perl as they have in Java, and this lies at the root of the problem. The wider range of standardization between programmers is the quick way that management can right off giving Perl the opportunity to prove itself.

      By this standard, Perlmonks wouldn't exist if you were correct. People post code here all the time (sometimes hideous), AND get answers and understanding in a relatively short period of time.

      The only other reason I can think of for what you are aying is, there aren't enough highly skilled Perl developers. I somewhat doubt this. There are plenty of examples of large Perl projects out there. In a way you could even say that CPAN is one of them.

      Maybe it's just that it's not as industy/money driven as other languages so companies never ask for it. There's no gargantuan company called Pun running around and shelling out the big bucks to convince companies to use Perl in large projects.

      As for liking other programmer's code, you are going to tell me that java programmers relish touching each other.s code ;) Forgive me if I'm doubtful. Maybe it's that java programmers aren't given a choice by the people who buy into the language. Or heaven forbid by the language itself. I would hate to have to write anything serious in java by my lonesome.

      If I was in an all java shop, I would have to work on other java programmer's code, like it or not. If I was in a Perl shop, I would have to work on other Perl programmer's code, like it or not. I've also never had the opportunity to work in a company full of Perl programmers. Have you?

      How can something be proven to everyone if most will not even try it? I believe there is a proper way to do it with Perl. Maybe there are people out there who have mastered it, and we're just not asking the right questions. I have a feeling it goes a little beyond telling them to "use strict;".


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://313855]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2018-02-25 12:34 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (312 votes). Check out past polls.