Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: Balancing Logging and Code Readability

by ack (Deacon)
on Sep 17, 2009 at 02:22 UTC ( #795750=note: print w/replies, xml ) Need Help??

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

I have been thinking about a similar approach. I think mine is a bit more drastic (probalby unnecessarily so). I had thought about moving all of my logging invocations over to the right side of the code margins so that they are drastically dislocated from the code. I was thinking that it would give a more visual continuity to the code distinctly separate and different from the logging.

I haven't tried it yet. I thought I'd take one of my more lengthy scripts and try it out just to see how it looks visually.

Your reflection upon your strategy gives me additional motivation to look into trying this strategy, too.

As I think about the dilema, I am feeling a strong sense that putting most all of these suggestions together as an overall strategy could be an excellent solution to my challenge. everyone!

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

Replies are listed 'Best First'.
Re^3: Balancing Logging and Code Readability
by kwaping (Priest) on Sep 17, 2009 at 17:33 UTC
    I'm interested to see what your final strategy is. Please keep us updated!

    It's all fine and dandy until someone has to look at the code.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2020-10-26 07:15 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (250 votes). Check out past polls.