Monthly Archives: February 2009

Store date attributes as primitive longs?

I was reading the item 24 of this book and, in one of the last paragraphs, the author comments about storing date objects as a primitive long. The text is about making defensive copies of objects in your constructors and … Continue reading

Posted in java | Tagged , , , | 4 Comments

Effective Java

Ok, I know. Shame on me. I should have read this book a loooooong time ago. This book is a little bit dated now; it’s from 2002, and the 2nd edition is already out. Anyway, I finally came to it … Continue reading

Posted in java | Tagged , , | 1 Comment