Video: 'Confusing And and Or (BlueJ)'
| Confusing And and Or (BlueJ) Time: 5:24 | |
| Average: 55 ratings | Your Rating: |
| Categories: Conditional Loop Logic Error BlueJ | |
Narration language: English
|
|
|
|
|
|
Description: This video shows the incorrect uses of || (or) in a compound boolean expression to control a validation loop. The incorrect boolean expression matches with commonly used English “if the user doesn’t answer ‘yes’ or the user doesn’t answer ‘no’ then make them type in another answer.” This expression is complicated by the fact that the “not” is used in conjunction with .equals is harder to parse than, for example, !=. |
|
|
Related Videos:
|
|
| Leave a comment about this video... |
|---|
What others are saying
englisct @ October 28, 2007 22:45 |
|
This video was helpful because I made the same mistake once. I was disturbed when the male voice came in from out of no where. |
|
DaveProgramming @ October 28, 2007 22:31 |
|
I think that the people should be teaching how to not make that mistake they made and not pretend to be learning from their mistakes along with the user. |
|
English
