DeepRead
Cover of Effective C++

Effective C++

Scott Meyers · 1991

Programming and computer science › C and C++

#172 most recommended

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

02040200720102015202020262016 peak · 22
This bookAverage book in C and C++

In the commenters’ own words

What Open Library readers say 4.09 from 11 ratings

  1. 52
  2. 48
  3. 31
  4. 20
  5. 10
  • 12 want to read
  • 0 reading
  • 16 have read

Only 11 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
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

Explore in the mosaic

Read next: its neighbours on the mosaic