Thank you Mr. Bloch
You sat down and codified so many useful ideas. That has saved the rest of us countless hours of banging our heads against the wall.
Clear, simply written code is not just easier to work with. It supports writing highly performant code. And it saves companies money. Kinda important when writing code that runs on mobile devices.
The concepts found in the book Effective Java are not just good ideas, they are one way to keep your mobile Java applications, especially Android, in a state that they can be maintained. This page and it’s sub pages summarize the concepts in the book.
A summary or cheat sheet if you will. Links to the summary of each item covered his book, Effective Java:
Creating and Destroying Objects
Item 4: Enforce noninstantiability with a private constructor
Item 5: Avoid creating unnecessary objects
Item 6: Eliminate obsolete object references
Item 7: Avoid finalizers
Joshua Bloch. 2008. Effective Java (2nd Edition) (The Java Series) (2 ed.). Prentice Hall PTR, Upper Saddle River, NJ, USA.
Effective Java, when used in partnership with “the Gang of Four Book”, are indispensable tools. The Gang of Four book is
Gamma, Erich, Richard Helm, Ralph Johnson, and John Vlissides. Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading, MA, 1995. ISBN: 0201633612.