4 ms·
In what language do those produce different results?
by fipple 8y ago
In what language do those produce different results?
- mattnewton 8y agoIn 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.