ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Technologies to Watch: A Look at Four That May Challenge Java’s Development Dominance
Subject:   Not the best Java code example
Date:   2005-11-21 07:51:18
From:   ikayak
Response to: Not the best Java code example

Good point on || assignments. The most common improvement for me is saving the use of a temp variable, such as your x, y = y, x