
Effective Java
by Joshua Bloch
Get this book
About this book
The Definitive Guide to Java Platform Best Practices–Updated for Java 7, 8, and 9 Java has changed dramatically since the previous edition of Effective Java was published shortly after the release of Java 6. This Jolt award-winning classic has now been thoroughly updated to take full advantage of the latest language and library features. The support in modern Java for multiple paradigms increases the need for specific best-practices advice, and this book delivers. As in previous editions, each chapter of Effective Java, Third Edition, consists of several “items,” each presented in the form of a short, stand-alone essay that provides specific advice, insight into Java platform subtleties, and updated code examples. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why. The third edition covers language and library features added in Java 7, 8, and 9, including the functional programming constructs that were added to its object-oriented roots. Many new items have been added, including a chapter devoted to lambdas and streams. New coverage includes Functional interfaces, lambda expressions, method references, and streams Default and static methods in interfaces Type inference, including the diamond operator for generic types The @SafeVarargs annotation The try-with-resources statement New library features such as the Optional interface, java.time, and the convenience factory methods for collections
Tags
Select a tag to vote for it. Select it again to remove your vote. The number on a tag is how many readers voted for it. Search and Discover show this book under a tag when the tag comes from its published information, or when three readers vote for it. Only readers who have the book on their Currently Reading or Finished shelf count toward those three.
Moods
Vibes
Pace
What do these tags mean?
Moods
- Cozy:
- Low-jeopardy warmth: small stakes, a safe community, danger kept mostly off the page. A village mystery or a small-town romance qualifies; a tense thriller in a charming setting does not.
- Adventurous:
- A journey, quest, voyage or exploration drives the book; physical action and new places are central.
- Emotional:
- Grief, loss or hardship rendered so that moving the reader is the point of the book. Not for a book that merely has feelings in it.
- Dark:
- Bleak, disturbing or morally grim; cruelty, despair or violence are dwelt on, not passed over.
- Hopeful:
- Moves toward light: recovery, resilience, repair, things getting better by the end.
- Romantic:
- A romance between characters is a central thread, whether or not sex appears on the page.
- Funny:
- Written for laughs; comedy, satire or wit is a primary register.
- Spicy:
- Explicit sex is depicted on the page, in detail. Closed-door, fade-to-black or tension without depiction is romantic, not spicy.
Vibes
- Beach Read:
- Light, propulsive holiday reading.
- Page Turner:
- Hard to put down: short chapters, constant hooks.
- Literary:
- Prose style and form are themselves a point of the book.
- Thought-provoking:
- Poses ideas or questions the reader carries away.
- Atmospheric:
- A strong sense of place or mood; the setting is immersive.
- Character-driven:
- Interior lives and relationships propel the story: the book's engine is people.
- Plot-driven:
- Events, twists and momentum propel the story: the book's engine is what happens.
- Slow Burn:
- Tension, romantic or otherwise, builds gradually.
- Epic:
- Sweeping scope: a large cast, high stakes, a saga or several generations.
- Comfort Read:
- A gentle, reassuring, low-stakes reading experience. Cozy is about the story's stakes; comfort-read is about how the book feels to read.
Pace
- Slow:
- Unhurried: the book lingers on description, interior thought or daily detail, and plot events are far apart.
- Medium:
- Neither rushed nor lingering: the story moves steadily, with room for scene-setting and reflection.
- Fast:
- Events come quickly: short scenes, frequent turns, little time spent between them.
Content warnings
No content warnings are listed. That does not mean the book has none: the published information about it often leaves them out.
Tags and content warnings come from published information about the book and from readers. They can be wrong or incomplete.
Is a tag or warning wrong?
Report one that does not fit
Pick a tag or a content warning that does not fit this book.
Add a content warning
Pick one this book should have. Yours shows on the book once it is added.





