Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Balancing Logging and Code Readability

by ack (Deacon)
on Sep 17, 2009 at 02:39 UTC ( [id://795753]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Balancing Logging and Code Readability
in thread Balancing Logging and Code Readability

Very good suggestion and straegy. That strategy can be extended to several other challenges I've encountered with logging...and with debugging, too. In fact, whether one uses logging or (as I noted to Marshall) just straight prints for debugging, gathering the frequently repeated code(s) into subroutines always makes my code much more readable and much less "cluttered."

Excellent observation and suggestion. Thanks, saberworks.

ack Albuquerque, NM
  • Comment on Re^3: Balancing Logging and Code Readability

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-24 03:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found