Peter Becker works as a consultant for iteratec GmbH in Munich, Germany.
After coding in Basic V2 and C++ for a few years he started using Java in
2001 while working for an Australian research institute, starting a few
Java-based OpenSource projects during the following years before going
back to the real world.
Even when you know the difference between == and .equals(), that's not the end of the story of object identity in Java. Lots of common-sense assumptions are rife with unpredictable side effects, and in this article Peter Becker takes a new look at just what equality means.