John 3:16
Bear Bibeault wrote:asserts have nothing at all to so with return values. Why are you mashing them together?
John 3:16
Paul Clapham wrote:... Looking at small pieces (e.g. what is a boolean value, which is one of your questions, and a perfectly good question at that) is much easier when you don't have to worry about how those small pieces are going to be put together into a larger structure.
John 3:16
Jordan D. Williams wrote:Basically the code that follows the return statement is like an if expression to be evaluated - except it does not have parentheses around it. If the conditions are true (ACE is less than or equal to rank AND rank is less than or equal to KING) then the method will return true. If the one of the conditions is NOT true, then the method will return false. Is that correct so far?
Jordan D. Williams wrote:This is what I *think* is happening here. Please correct me if I am wrong. Basically the code that follows the return statement is like an if expression to be evaluated - except it does not have parentheses around it. If the conditions are true (ACE is less than or equal to rank AND rank is less than or equal to KING) then the method will return true. If the one of the conditions is NOT true, then the method will return false. Is that correct so far?
It happens...Dennis Deems wrote:Edit: too, too slow....
Junilu Lacar wrote:
John 3:16
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |