DeepRead
Cover of Elements of programming

Elements of programming

Alexander A. Stepanov · 2009

Programming and computer science › C and C++

#818 most recommended

About the book

Elements of Programming covers the foundations of generic programming: how to write algorithms and data structures that work across many types while staying correct and efficient. It builds from basic concepts such as equivalence, orderings, iterators, and ranges, and implements them in C++. Practical programming is best organized around mathematical abstraction, especially basic abstract algebra. The authors claim that an algorithm should require only the minimal algebraic structure it needs, and that this precision yields both reuse and performance. They use examples such as generalized multiplication to show how one algorithm applies to any type that meets its requirements, and they present the reasoning behind the C++ Standard Template Library as an application of these principles.

Written by Claude from what it knows of this book.

What Hacker News says 62% recommend · 0% critical

051020092015202020262020 peak · 8
This bookAverage book in C and C++

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 9 want to read
  • 0 reading
  • 1 have read

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

Free to read

Details

First published
2009
ISBN
9780321635372
Editions known
4 at Open Library
Open Library
OL7957166W

Computer algorithmsComputer programming

Explore in the mosaic

Read next: its neighbours on the mosaic