in reply to Thoughts on using and, or, and not over && || !?

I do it as often as I can. I think it makes code "more readable".

(I also try to use as few parentheses as possible for the same reason.)

  • Comment on Re: Thoughts on using and, or, and not over && || !?

Replies are listed 'Best First'.
Re^2: Thoughts on using and, or, and not over && || !?
by BillKSmith (Monsignor) on Jul 12, 2016 at 02:24 UTC
    "More readable" is always a judgement call. Redundant parenthesis are a big improvement to the reader that is spared from consulting the precedence tables.
    Bill