DeepRead
Cover of Effective Java

Effective Java

Joshua Bloch · 2001

Programming and computer science › Programming classics and Java

#110 most recommended

About the book

A practical guide to writing idiomatic, maintainable code in the Java programming language, organized as numbered items, each a specific recommendation with explanation. It covers object creation and lifetime, methods common to all objects such as equals, hashCode, and toString, classes and interfaces, methods, general programming, and serialization. The first edition, from 2001, targets the language as it stood before Java 5 added generics and enums. The central claim is that good Java depends on deliberate design choices that go beyond correct syntax, such as minimizing mutability, controlling how classes are extended, and making APIs hard to misuse. It argues for immutable objects where practical, for either designing and documenting a class for inheritance or prohibiting it, and for avoiding finalizers in favor of explicit cleanup methods. It also presents library design guidance, such as choosing interfaces over abstract classes where possible and keeping public APIs small and consistent.

Written by Claude from what it knows of this book.

What Hacker News says 71% recommend · 1% critical

02040200720102015202020262012 peak · 31
This bookAverage book in Programming classics and Java

In the commenters’ own words

What Open Library readers say 4.50 from 10 ratings

  1. 55
  2. 45
  3. 30
  4. 20
  5. 10
  • 70 want to read
  • 6 reading
  • 12 have read

Only 10 ratings: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2001
ISBN
9780321356680
Editions known
14 at Open Library
Open Library
OL6223299W

005.13/3Cheng xu she jiJava (Computer program language)Java 2.Java yu yanLiterary collectionsObject-oriented programming (Computer science)Qa76.73.j38Qa76.73.j38 b57 2001

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Java Concurrency in Practice
    Brian Goetz · 2006 · recommended by 53 people · 18 people recommended both
  • Effective C++
    Scott Meyers · 1991 · recommended by 112 people · 11 people recommended both
  • Java puzzlers
    Joshua Bloch · 2005 · recommended by 12 people · 4 people recommended both
  • Thinking in Java
    Bruce Eckel · 1997 · recommended by 28 people · 7 people recommended both
  • Head First design patterns
    Eric Freeman · 2004 · recommended by 65 people · 7 people recommended both
  • Clean Code
    Robert C. Martin · 2008 · recommended by 298 people · 13 people recommended both
  • The Pragmatic Programmer
    Andy Hunt · 1999 · recommended by 353 people · 18 people recommended both
  • Practical Java
    Peter Haggar · 2000 · recommended by 1 person · similar by subject and what people say about it
  • Programming Pearls
    Jon Bentley · 1999 · recommended by 158 people · 9 people recommended both
  • Code Complete
    Steve McConnell · 1993 · recommended by 393 people · 11 people recommended both
  • JavaScript
    Douglas Crockford · 2008 · recommended by 72 people · 5 people recommended both
  • Design Patterns
    Erich Gamma · 1994 · recommended by 95 people · 4 people recommended both
  • Head first Java
    Kathy Sierra · 2003 · recommended by 27 people · named together in 4 comments
  • The C Programming Language
    Brian W. Kernighan · 1978 · recommended by 246 people · 6 people recommended both
  • Coders at Work
    Peter Seibel · 2009 · recommended by 126 people · 7 people recommended both
  • Eloquent Ruby
    Russ Olsen · 2011 · recommended by 44 people · named together in 3 comments
  • Java Precisely
    Peter Sestoft · 2002 · recommended by 2 people · similar by subject and what people say about it
  • Hardcore Java
    Robert Simmons, Jr. · 2004 · recommended by 2 people · similar by subject and what people say about it
  • Effective JavaScript
    David Herman · 2012 · recommended by 20 people · named together in 3 comments
  • Programming in Scala
    Martin Odersky · 2008 · recommended by 35 people · 3 people recommended both
  • Introduction to Algorithms
    Thomas H. Cormen · 1990 · recommended by 274 people · 7 people recommended both
  • Domain-Driven Design
    Eric Evans · 2003 · recommended by 104 people · 4 people recommended both
  • Compilers, principles, techniques, and tools
    Alfred V. Aho · 1986 · recommended by 195 people · 5 people recommended both
  • Java 8 in Action
    Raoul-Gabriel Urma · 2014 · recommended by 4 people · named together in 2 comments