Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Code Maintainability

by jeffa (Chancellor)
on Dec 04, 2008 at 16:23 UTC ( #728019=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($DEBUG) { print STDERR "Debug: some value"; }
    [download]
    ...
    is pretty clear, but if we re-write that one line, it becomes more of 
    +a conversation with the maintainer:
    
    print STDERR "Debug: some value" if $DEBUG; 
    
  2. or download this
    if ($DEBUG) {
        print STDERR "Debug: some value";
        # some tempory line to debug our debuger ...
        # some other temp line ...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2015-07-02 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (46 votes), past polls