News for hackers. Stuff that matters.
Re:Building an Inclusive Code Review Culture by mattnewton on Monday July 30, 2018 @04:42PM (#17647839)
In many people’s head-parser, the first one looks like an equality check (but is in fact assignment). The parens try to clue people into “this is an assignment expression!” I think, but personally I wouldn’t allow an assignment expression in an if statement even with parens.

There are no comments on this comment yet.