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