...
CERT C Secure Coding Standard: "EXP02-C. Be aware of the short-circuit behavior of the logical AND and OR operators"
CERT C++ Secure Coding Standard: "EXP02-CPP. Be aware of the short-circuit behavior of the logical AND and OR operators"
Bibliography
<ac:structured-macro ac:name="unmigrated-wiki-markup |
...
" ac:schema-version="1" ac:macro-id="eeed64a2-9e4f-469e-b23a-0243ad10378f"><ac:plain-text-body><![CDATA[ | [[Flanagan |
...
2005 |
...
AA. |
...
Bibliography#Flanagan |
...
05] |
...
] |
...
2.5.6. |
...
Boolean |
...
Operators | ]]></ac:plain-text-body></ac:structured-macro> | |||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="edd38056-d389-423e-ae19-35543604c3f2"><ac:plain-text-body><![CDATA[ | [[JLS 2005 | AA. Bibliography#JLS 05]] | [§15.23 | http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#15.23] |
...
"Conditional-And |
...
Operator |
...
&&" |
...
]]></ac:plain-text-body></ac:structured-macro> | |
| §15.24 "Conditional-Or |
...
Operator |
...
" |
|---|
...
EXP06-J. Use parentheses for precedence of operation 02. Expressions (EXP) EXP08-J. Do not write more than once to the same variable within an expression