On 4/12/2012 5:55 AM, Miles Bader wrote:
... and it's quite possible that such bugs resulting from adding parentheses means that the programmer "fixing" the code didn't actually know the right precedence!
or that the layout (which is what in practice we should rely on to make things clear with or without the parentheses) was sloppy or plain incorrect.
I think the relative precedence of * and + can be safely termed "very well known", but in the case of&& and ||, it's not so clear...
indeed