Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: A question about the best way to use subroutines

by petral (Curate)
on Mar 27, 2001 at 08:48 UTC ( #67427=note: print w/replies, xml ) Need Help??


in reply to A question about the best way to use subroutines

A really general rule is "one level of abstraction".  Basically, if I'm dealing with the _details_ of one step in a routine, that becomes a subroutine.  Then in the new routine, the details become the top level.

p
  • Comment on Re: A question about the best way to use subroutines

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://67427]
help
Chatterbox?
[pryrt]: Is there a way to search for/list "nodes I've voted on"? (I thought there was, but cannot find it now)
[choroba]: Your votes in your profile?

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2017-03-29 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (351 votes). Check out past polls.