News for hackers. Stuff that matters.
Re:The Only Way to Win Is Not to Play the Game by dugreader on Sunday August 04, 2019 @08:40PM (#20610161)
As a corollary, in software engineering, it's amazing how often people will insist upon removing "redundant" parenthesis in code reviews or when they refactor code. Even if there is a well-defined order-of-operations, parens can communicate that the intention of the author was indeed the same as the outcome.
Re:The Only Way to Win Is Not to Play the Game by jakear on Sunday August 04, 2019 @08:57PM (#20610220)
Many linters will automatically remove unnecessary parens. I sometimes wish there was an option for the opposite: automatically insert parens, perhaps only for certain classes of expressions (always insert parens for ternaries, for instance)