[ros-dev] [ros-diffs] [ion] 52596: [NTDLL]: More attempts at fixing up the loader, this time in the PE side of things.

Ged Murphy gedmurphy.maillists at gmail.com
Tue Jul 12 12:57:17 UTC 2011


Timo Kreuzer wrote:

> > 1) You can avoid using (() || ()) if you know the 10 exceptions and 
> > operator precedence by heart. (Aleksey Method)
> But there is no operator involved in "(BoundEntry)", so you don't need to
know any operator precedence.

There is really, but it's just hidden in the language.
if ((BoundEntry != 0) || (ImportEntry != 0))


I'm a fan of parenthesis, I can't think of a situation when their use makes
code less clear or harder to read.

Ged.






More information about the Ros-dev mailing list