[ros-dev] [ros-diffs] [dgorbachev] 39422: Fix bug #4129 in CmpGetNameControlBlock().
Aleksey Bragin
aleksey at reactos.org
Mon Feb 16 19:52:25 CET 2009
But his reason was that in case with
if ((a = b) && (c = d))
parenthesis managed to hide a compiler warning about equal statement
being used instead of a comparison sign in the if.
On Feb 16, 2009, at 9:42 PM, Ged wrote:
> IMO parenthesis should always be used, it helps to clarify what the
> developer who wrote the code really wanted.
>
> I also find code which makes use of parenthesis much easier to read
> quickly,
> although that's probably just a personal preference.
>
> Ged.
More information about the Ros-dev
mailing list