|
|
|
|
|
by 8372049
716 days ago
|
|
> if they didn’t use the syntax if (1==x) rather than if (x==1). The former will not compile if you accidentally use variable assignment instead of equality operator No need for Yoda notation. clang will warn of this by default and gcc will do so if you compile with -Wall, which should also be your default. |
|