Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Conditional style (if, &&) query

by Biker (Priest)
on Oct 17, 2001 at 15:36 UTC ( [id://119369]=note: print w/replies, xml ) Need Help??


in reply to Re: Conditional style (if, &&) query
in thread Conditional style (if, &&) query

I beg to disagree with the statement "The more comments the better.".
Personally I state and restate:
"Any programmer of the language in question is supposed to understand what the code does."
"OTOH, you must document why the code does it."

This is especially important when the code makes assumption about the behaviour of external libraries or when the code depends on (more or less documented) side effects.

f--k the world!!!!
/dev/world has reached maximal mount count, check forced.

  • Comment on Re: Re: Conditional style (if, &&) query

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-16 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found