
Effective Java
Joshua Bloch · 2001
Programming and computer science › Programming classics and Java
#110 most recommended
Hacker News
287
mentions by 243 people · top 0.8% of 15,732 books
Open Library
4.50★★★★★★★★★★
10 ratings · 70 want to read
Wikipedia
—
No article yet
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
In the commenters’ own words
I'm not sure how relevant my experience will be for your situation, but I'll pass on this anecdote as an example of at least historical value - adjust…
> Looking back, the main problem was probably Spring, Glassfish, IOC, XML, Maven and numerous other "EE" things that java-people assumed were a must 10 years…
What Open Library readers say 4.50 from 10 ratings
- 55
- 45
- 30
- 20
- 10
- 70 want to read
- 6 reading
- 12 have read
Only 10 ratings: treat the average as a hint.
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
- Ask HN: Books you read in 2018?
- Ask HN: What books have made the biggest impact on your mental models?
- Ask HN: Good books?
- Ask HN: What are you reading right now?
- Ask HN: Best book you read in 2011
- Ask HN: What language-agnostic programming books should I read?
- Ask HN: What books do you keep on your desk?
- Ask HN: Name 3-5 books that had the most impact on your career and knowledge?
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
Read next: its neighbours on the mosaic
Java Concurrency in PracticeBrian Goetz · 2006 · recommended by 53 people · 18 people recommended both
Effective C++Scott Meyers · 1991 · recommended by 112 people · 11 people recommended both
Java puzzlersJoshua Bloch · 2005 · recommended by 12 people · 4 people recommended both
Thinking in JavaBruce Eckel · 1997 · recommended by 28 people · 7 people recommended both
Head First design patternsEric Freeman · 2004 · recommended by 65 people · 7 people recommended both
Clean CodeRobert C. Martin · 2008 · recommended by 298 people · 13 people recommended both
The Pragmatic ProgrammerAndy Hunt · 1999 · recommended by 353 people · 18 people recommended both
Practical JavaPeter Haggar · 2000 · recommended by 1 person · similar by subject and what people say about it
Programming PearlsJon Bentley · 1999 · recommended by 158 people · 9 people recommended both
Code CompleteSteve McConnell · 1993 · recommended by 393 people · 11 people recommended both
JavaScriptDouglas Crockford · 2008 · recommended by 72 people · 5 people recommended both
Design PatternsErich Gamma · 1994 · recommended by 95 people · 4 people recommended both
Head first JavaKathy Sierra · 2003 · recommended by 27 people · named together in 4 comments
The C Programming LanguageBrian W. Kernighan · 1978 · recommended by 246 people · 6 people recommended both
Coders at WorkPeter Seibel · 2009 · recommended by 126 people · 7 people recommended both
Eloquent RubyRuss Olsen · 2011 · recommended by 44 people · named together in 3 comments
Java PreciselyPeter Sestoft · 2002 · recommended by 2 people · similar by subject and what people say about it
Hardcore JavaRobert Simmons, Jr. · 2004 · recommended by 2 people · similar by subject and what people say about it
Effective JavaScriptDavid Herman · 2012 · recommended by 20 people · named together in 3 comments
Programming in ScalaMartin Odersky · 2008 · recommended by 35 people · 3 people recommended both
Introduction to AlgorithmsThomas H. Cormen · 1990 · recommended by 274 people · 7 people recommended both
Domain-Driven DesignEric Evans · 2003 · recommended by 104 people · 4 people recommended both
Compilers, principles, techniques, and toolsAlfred V. Aho · 1986 · recommended by 195 people · 5 people recommended both
Java 8 in ActionRaoul-Gabriel Urma · 2014 · recommended by 4 people · named together in 2 comments