On Mon, Mar 10, 2025 at 03:12:06AM -0600, arnold(a)skeeve.com wrote:
I think, as in all things, "always use
parentheses" can be carried
too far. I find
if (a == b && c == d)
perfectly reasonable, but
if ((a == b) && (c == d))
to be just silly.
Color me silly then. My eyes parse the "silly" form faster. And I was the
boss so my eyes won. Over time, everyone at my shop came to agree with me.
One mans silly is another mans faster reading.
If you worked for me, you did the silly form. And everyone came around to
liking it. It's just faster to read.