It's as dangerous in Java as it is in other languages. Just the other
day I helped somebody on JavaRanch who spent days trying to figure out
why their loop never ran:
boolean loopWhileFalse = false;
while (loopWhileFalse = false) {
...
On Sep 22, 2010, at 2:05 PM, Donald Winston wrote:
Yeah, I know. It's one of my quirky things. I think it's easier to
read. I also refuse to use the ++ operator. I prefer i = i + 1.
Pascal forever!
On Sep 22, 2010, at 7:28 AM, Ernest Friedman-Hill wrote:
Finally, a Java tip: you can (and should) just write
else if ("STRING".equals(type))
---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences, Sandia National Laboratories
PO Box 969, MS 9012, Livermore, CA 94550
http://www.jessrules.com
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [email protected]'
in the BODY of a message to [email protected], NOT to the list
(use your own address!) List problems? Notify [email protected].
--------------------------------------------------------------------