[TUHS] FD 2

Larry McVoy lm at mcvoy.com
Tue Jan 31 02:27:19 AEST 2023


On Mon, Jan 30, 2023 at 11:21:45AM -0500, Steve Nickolas wrote:
> I'll never do if (a==b&&c==d), always if ((a==b)&&(c==d)).

I'm a

	if ((a == b) && (c == d))

guy but yeah, spell it out not just so the compiler doesn't mess with
you, for me, it is more so my eyes run over the expression and I can
parse it with less brain cells, parens let me think less.

I've always had the opinion that code should be written in a way that
is the most easy to read.


More information about the TUHS mailing list