O'Reilly logo
  • Nicholas Folts thinks this is interesting:

The improved version of the Person class creates Calendar, TimeZone, and Date instances only once, when it is initialized, instead of creating them every time isBabyBoomer is invoked. This results in significant performance gains if the


Cover of Effective Java™


This one is something that I constantly see...