|
|
|
|
|
by simias
2144 days ago
|
|
I would put parentheses here, I never like mixing logical operators with other types (or even different types of logical operators). While it's of course entirely redundant here, it also makes the code easier to read IMO. I think the parent's point is more convincing: why make this check only for root in the first place? |
|
== has a higher precedence than &&, but = has a lower precedence.
means