Nishanth R. Sastry received his bachelor's degree in Computer Science and Engineering in 1999,
graduating with distinction from the R.V. College of Engineering, Bangalore University, India.
In 2001, he obtained a master's degree in Computer Science from The University of Texas at Austin.
He is now a software developer at IBM Research.In a previous life, he worked for Cisco Systems.
Java 5.0's for-each loop saves keystrokes, but that's not all it does. It offers opportunities for compiler optimizations, as well as for subtle bugs from unboxing and null-handling. Nishanth Sastry has some strategies for getting the most out of 5.0's for-each.