Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^4: What is code readability?

by Anonymous Monk
on Jan 03, 2007 at 16:10 UTC ( #592778=note: print w/replies, xml ) Need Help??

in reply to Re^3: What is code readability?
in thread What is code readability?

Maybe you should post what you think the real subroutine should look like. I suspect that the code is not being used more than once, there by negating the biggest incentive to turn it into a separate procedure. By the time you rewrite it properly, (by removing references to global variables, passing in parameters, etc.), it'll be longer and harder to understand. I'll go out on a limb here and say all the context you need is provided by an appropriate variable name, like $total_fee, for instance. But there's a chance that we'll just have to agree to disagree.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2020-07-12 09:58 GMT
Find Nodes?
    Voting Booth?

    No recent polls found