Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
if statement that, when false, skips first statement in its block, executes second?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Roedy Green, post: 645605"] I would like it if there were a lint option to insist on {} for if and no empty statements. Algol 68 had "nihil" when you wanted an explicit empty statement. If's without them look so innocent but do things so different from what they first appear. I can stare at the code for 10 minutes and still not see the problem. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
if statement that, when false, skips first statement in its block, executes second?
Top