Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Old NumberCrunching Modules

by jgamble (Pilgrim)
on Aug 13, 2012 at 18:57 UTC ( [id://987180]=note: print w/replies, xml ) Need Help??


in reply to Re: Old NumberCrunching Modules
in thread Old NumberCrunching Modules

I agree that you need to acquire ownership if the original author is unavailable now. Double-check that by posting to module-authors@perl.org mailing list to make certain.

Then fix the bug and documentation error before re-writing and re-factoring code. It's only one extra version upload, and it lets the module's users know that you are making changes and lets them prepare for those changes.

I also have ex-Fortran code in Perl, and the sensible process there is to make the basic, obvious changes (change loops to use the '..' operator; fix variable names to something meaningful instead of single letters; lexicalize function variables that are only found within an individual loop down to that loop).

(Looking at Math-Brent's code, it looks like the original author already did some of that, although it seems in some cases he has multiple variables in play where an array would be more useful).

Then consider OO-ing the code.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-09-10 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (8 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.