Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Program size and effeciency.

by qq (Hermit)
on Jul 08, 2004 at 21:57 UTC ( #372971=note: print w/ replies, xml ) Need Help??


in reply to Program size and effeciency.

PERL is not for effeciency, It is only for getting things to be done

Perl is for getting things done efficiently.

...but duplicating a working program (if it is working) isn't efficient.

The relation of program size to efficiency is a bit obscure, because each time you use Some::XML::Module you're pulling in god knows how many lines of code. Of course, these are LOC that you don't have to write or maintain. In some sort of bogus way the ratio of LOC that you write to LOC that you leverage via use could be considered a measure of efficiency. Sort of.

qq


Comment on Re: Program size and effeciency.
Select or Download Code
Re^2: Program size and effeciency.
by elwarren (Curate) on Jul 08, 2004 at 22:41 UTC
    I understand the boss' reasoning, I just don't like his excuse. It's hard for us to walk away from a challenge like that.

    It's a toss up really. Maybe if the code had used some modules then the bugs in the modules would have been maintained by someone else and you wouldn't have to fix those bugs as they're discovered in your reinvented wheel.

    I'll agree that a complete rewrite is probably overkill though. I think you could satisfy your desire to fix it by refining the old code by rewriting it one block/function/method at a time. I'm sure it will prove just a challenging and maybe more rewarding to be able to show a before and after.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2014-09-17 01:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (55 votes), past polls