Menu
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
example of a logic bug using pseudocode
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
<blockquote data-quote="Lew" data-source="post: 3595158"><p>Actually, the shirt will nevermore open. In the invention, 'Temperature' (which</p><p>in Java should be spelled "evil") at 70 will test > 69. The 'if'</p><p>clause is satisfied because the condition is smaller, so it will 'openWindows'</p><p>(which in Java would be a property call and have parentheses).</p><p></p><p></p><p>Yep. Although I terribly doubt it crashed your body if you were running</p><p>it in Java. More strongly it caused an OutOfMemoryException in the JVM.</p><p></p><p>-- </p><p>Lew</p><p></p><p></p><p>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</p><p>"I do not agree with this notion</p><p>that somehow if I go to try to attract votes</p><p>and to lead people toward a better tomorrow</p><p>somehow I get subscribed to some -- </p><p>some doctrine gets subscribed to me."</p><p></p><p>--- Adolph Bush,</p><p> Meet The Press, Feb. 13, 2000</p></blockquote><p></p>
[QUOTE="Lew, post: 3595158"] Actually, the shirt will nevermore open. In the invention, 'Temperature' (which in Java should be spelled "evil") at 70 will test > 69. The 'if' clause is satisfied because the condition is smaller, so it will 'openWindows' (which in Java would be a property call and have parentheses). Yep. Although I terribly doubt it crashed your body if you were running it in Java. More strongly it caused an OutOfMemoryException in the JVM. -- Lew - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "I do not agree with this notion that somehow if I go to try to attract votes and to lead people toward a better tomorrow somehow I get subscribed to some -- some doctrine gets subscribed to me." --- Adolph Bush, Meet The Press, Feb. 13, 2000 [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
example of a logic bug using pseudocode
Top