Java Reference
In-Depth Information
Use an identity function to make an expression nonconstant.
References: Puzzle 93 ; [JLS 4.12.4, 13.1, 15.28].
4.6. Operators & and | evaluate both operands even when used on
boolean values
Prescription: Avoid the & and | operators for boolean operands. Document any intentional uses.
References: Puzzle 42 ; [JLS 15.22.2, 15.24].
< Day Day Up >
 
 
Search WWH ::




Custom Search