
Hacker News
212
mentions by 184 people · top 2% of 15,732 books
Open Library
4.09★★★★★★★★★★
11 ratings · 12 want to read
Wikipedia
—
No article yet
About the book
Effective C++ is a collection of numbered guidelines, called items, on writing C++ well. It covers idioms, common pitfalls, and performance traps across the language, including construction and destruction, resource management, inheritance and templates, and the design of classes and interfaces. It is written for programmers who already know C++ and want to use it more effectively. The central claim is that good C++ depends on understanding what the compiler does on the programmer's behalf, so that code expresses intent and avoids hidden costs. Meyers argues for preferring consts, enums, and inline functions to macros, for using RAII and smart pointers to manage resources, and for designing base classes and virtual functions deliberately. He also argues that correct copying, assignment, and exception-safe code must be designed in from the start rather than patched later. Each item states a rule and explains the reasoning and trade-offs behind it.
Written by Claude from what it knows of this book.
What Hacker News says 61% recommend · 5% critical
In the commenters’ own words
Not the OP, but for what it's worth, the overall flow of the book just didn't work for me. "Modern C" takes a staged approach, going through + Level 0…
Before asking my questions, I’d like to share a bit of my background. I am a 33-year-old developer living in South Korea. I work mostly in the industrial…
What Open Library readers say 4.09 from 11 ratings
- 52
- 48
- 31
- 20
- 10
- 12 want to read
- 0 reading
- 16 have read
Only 11 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: What books do you keep on your desk?
- Ask HN: What are the most fundamental books on computer science?
- Ask HN: What books had the greatest effect on how you structure your code?
- Ask HN: Best book to learn C in 2022?
- Ask HN: What are the latest and greatest books on your favorite language?
- Code Interview Reading List
- Ask HN: What C# books are highly recommended for professional .NET developers?
- Ask HN: Good Programming/Tech Books To Read?
Details
- First published
- 1991
- ISBN
- 9780321334879
- Editions known
- 6 at Open Library
- Open Library
- OL2685843W
C plus plus (computer program language)C++ (Computer program language)Object-oriented programming (Computer science)Qa76.73.c153 m48 2005
Read next: its neighbours on the mosaic
Effective Modern C++Scott Meyers · 2014 · recommended by 63 people · 11 people recommended both
Effective STLScott Meyers · 2001 · recommended by 13 people · 4 people recommended both
Effective JavaJoshua Bloch · 2001 · recommended by 172 people · 11 people recommended both
A Tour of C++Bjarne Stroustrup · 2013 · recommended by 65 people · 7 people recommended both
Design PatternsErich Gamma · 1994 · recommended by 95 people · 6 people recommended both
C++ PrimerStanley B. Lippman · 1989 · recommended by 53 people · 5 people recommended both
Modern C++ DesignAndrei Alexandrescu · 2001 · recommended by 29 people · 3 people recommended both
Accelerated C++Andrew Koenig · 2000 · recommended by 47 people · 3 people recommended both
Code CompleteSteve McConnell · 1993 · recommended by 393 people · 11 people recommended both
C++ coding standardsHerb Sutter · 2004 · recommended by 10 people · similar by subject and what people say about it
ProgrammingBjarne Stroustrup · 2014 · recommended by 2 people · similar by subject and what people say about it
The annotated C++ reference manualMargaret A. Ellis · 1990 · recommended by 2 people · similar by subject and what people say about it
Large-scale C++ software designJohn Lakos · 1996 · recommended by 24 people · 2 people recommended both
Programming PearlsJon Bentley · 1999 · recommended by 158 people · 7 people recommended both
Core JavaCay S. Horstmann · 2008 · recommended by 4 people · 2 people recommended both
Introduction to AlgorithmsThomas H. Cormen · 1990 · recommended by 274 people · 7 people recommended both
Design Patterns. Elements of Reusable Object-oriented SoftwareErich Gamma, Richard Helm, Ralph Johnson, John Vlissides · 1999 · recommended by 4 people · similar by subject and what people say about it
The algorithm design manualSteven S. Skiena · 1998 · recommended by 195 people · 7 people recommended both
The C++ programming languageBjarne Stroustrup · 1985 · recommended by 19 people · named together in 2 comments
The design and evolution of C[plus plus]Bjarne Stroustrup · 1994 · recommended by 38 people · 3 people recommended both
Java Concurrency in PracticeBrian Goetz · 2006 · recommended by 53 people · 3 people recommended both
The C Programming LanguageBrian W. Kernighan · 1978 · recommended by 246 people · 5 people recommended both
Effective JavaScriptDavid Herman · 2012 · recommended by 20 people · named together in 2 comments
The Little SchemerDaniel P. Friedman · 1995 · recommended by 288 people · 6 people recommended both