
Elements of programming
Alexander A. Stepanov · 2009
Programming and computer science › C and C++
#818 most recommended
Hacker News
58
mentions by 50 people · top 6% of 15,732 books
Open Library
—
No ratings yet
9 want to read
Wikipedia
—
No article yet
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
In the commenters’ own words
I'll give you a couple. Note that some of these are rehashes of my earlier comments. # Elements of Programming…
>Do you agree that C++ pass-by-value is using copy constructors? C++ is an incredibly complex language that it's almost never the case that you can make a…
What Open Library readers say
No Open Library reader has rated it yet.
- 9 want to read
- 0 reading
- 1 have read
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 language-agnostic programming books should I read?
- Ask HN: What's the best computer science book you've read recently?
- Ask HN: Top 10 Timeless Software Books That ChangedLife as Software Engineer?
- Ask HN: Programming books that are more like math books?
- Ask HN: What books are you reading this week?
Free to read
Details
- First published
- 2009
- ISBN
- 9780321635372
- Editions known
- 4 at Open Library
- Open Library
- OL7957166W
Computer algorithmsComputer programming
Read next: its neighbours on the mosaic
From Mathematics to Generic ProgrammingAlexander A. Stepanov · 2015 · recommended by 12 people · 5 people recommended both
Software fundamentalsDavid Lorge Parnas · 2001 · recommended by 4 people · 2 people recommended both
Modern C++ DesignAndrei Alexandrescu · 2001 · recommended by 29 people · 3 people recommended both
A Tour of C++Bjarne Stroustrup · 2013 · recommended by 65 people · 4 people recommended both
Algorithms for OptimizationMykel J. Kochenderfer · 2019 · recommended by 5 people · similar by subject and what people say about it
Unix Network ProgrammingW. Richard Stevens · 1990 · recommended by 54 people · 3 people recommended both
Inside the C⁺⁺ object modelStanley B. Lippman · 1996 · recommended by 7 people · 2 people recommended both
Code CompleteSteve McConnell · 1993 · recommended by 393 people · 4 people recommended both
Writing solid codeSteve Maguire · 1993 · recommended by 18 people · similar by subject and what people say about it
Basic category theory for computer scientistsBenjamin C. Pierce · 1991 · recommended by 12 people · 2 people recommended both
Practical TLA+Hillel Wayne · 2018 · recommended by 15 people · similar by subject and what people say about it
Effective Modern C++Scott Meyers · 2014 · recommended by 63 people · 2 people recommended both
SQL Performance ExplainedMarkus Winand · 2011 · recommended by 26 people · 2 people recommended both
The C++ standard template libraryP. J. Plauger · 2001 · recommended by 1 person · similar by subject and what people say about it
Designing object-oriented C++ applications using the Booch methodRobert C. Martin · 1995 · recommended by 3 people · similar by subject and what people say about it
Project OberonNiklaus Wirth · 1992 · recommended by 30 people · 3 people recommended both
Embracing Modern C++ SafelyJohn Lakos · 2021 · recommended by 2 people · similar by subject and what people say about it
The design and evolution of C[plus plus]Bjarne Stroustrup · 1994 · recommended by 38 people · 2 people recommended both
Concepts, techniques, and models of computer programmingPeter Van Roy · 2004 · recommended by 70 people · 2 people recommended both
Patterns of softwareRichard P. Gabriel · 1996 · recommended by 31 people · 2 people recommended both
C interfaces and implementationsDavid R. Hanson · 1996 · recommended by 46 people · named together in 2 comments
Composite/structured designGlenford J. Myers · 1978 · recommended by 2 people · similar by subject and what people say about it
Software toolsBrian W. Kernighan · 1976 · recommended by 21 people · similar by subject and what people say about it
Algorithms unlockedThomas H. Cormen · 2013 · recommended by 7 people · similar by subject and what people say about it