Wiki Markup |
---|
Programmers frequently make errors regarding the precedence rulesguidelines of operators due to the unintuitive low-precedence levels of {{&}}, {{\|}}, {{\^}}, {{<<}}, and {{>>}}. Mistakes regarding precedence rulesguidelines can be avoided by the suitable use of parentheses. Defensive use of parentheses, if not taken to excess, also improves code readability. The precedence of operations by the order of the subclauses are defined in the Java Tutorials \[[Tutorials 2008|AA. Bibliography#Tutorials 08]\]. |
...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Other Languages
This rule guideline appears in the C Coding Standard as EXP00-C. Use parentheses for precedence of operation.
This rule guideline appears in the C++ Secure Coding Standard as EXP00-CPP. Use parentheses for precedence of operation.
...