Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Perl for big projects (what's big?)

by Ovid (Cardinal)
on Jul 11, 2006 at 08:35 UTC ( #560357=note: print w/replies, xml ) Need Help??


in reply to Re: Perl for big projects
in thread Perl for big projects

You've asked what constitutes a "big" project in Perl and I can only say that this is terribly subjective. One project I worked on was a quarter million lines of code (pretty good code, too) and that was definitely a big project. Were it written in Java or C, it could easily have topped a million lines. There are those who will swagger in and say "yeah, I maintained a five million line project" and there are those who maintain 50K lines and think those are huge, but there's really no arbitrary cut-off. Thus, to say that Perl's bad for "large" projects does beg the question.

That aside, we had no problem maintaining our quarter million lines of code because we pair-programmed, had decent test suites, respected encapsulation, didn't have (many) unrealistic deadlines and so on. In short, with competent programmers and a decent work environment and code base, Perl scales well and we could get things done fast, fast, fast.

That being said, finding competent Perl programmers turns out to be more difficult than one might think. This is a constant complaint I hear from employers.

Cheers,
Ovid

New address of my CGI Course.

  • Comment on Re^2: Perl for big projects (what's big?)

Replies are listed 'Best First'.
Re^3: Perl for big projects (what's big?)
by rhesa (Vicar) on Jul 12, 2006 at 12:53 UTC
    Thank you, Ovid. That helps me position myself, and it clarifies my feelings about the issue the OP raised.

    Our code base for this particular project runs in the 90K lines. If I'm generous, I can take 30K off to account for dead code and unrefactored duplication. My feeling was that it's not exactly huge, but not trivial either. Your examples seem to corroborate that.

    So, if two fairly competent, mildly disciplined coders can comfortably maintain a code base of that size, it seems entirely reasonable to me to suggest that Perl is quite suitable for big projects. Perl doesn't make it particularly hard to write modularised, well contained code. I don't see why it wouldn't be possible to create huge projects in it that way.

Re^3: Perl for big projects (what's big?)
by msk_0984 (Friar) on Aug 07, 2006 at 05:06 UTC
    Hi Ovid

        Thats great u have made me feel that

    "Yes evrything is possible & nothing is impossible and it need u to be a competent programmer."

        Its not the matter that you have to write a 50K line code or a million line code it all depends how efficiently and how effectively you can write ur Code with the optimum utilization of resources.

        And also said it right u need to have decent testing cases and suites and control over the code and maintainence of the code can be done easily and effectively. People can quite easily write unmaintainable code in any known programming language.

    As one of our monk said

    A good programmer can overcome a poor language or a clumsy operating system, but even a great programming environment will not rescue a bad programmer. Kernighan and Pike

    Sushil

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2018-04-23 06:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?