Elements of Programming and over 400,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
46 used & new from $28.95

Have one to sell? Sell yours here
 
   
Elements of Programming
 
 
Start reading Elements of Programming on your Kindle in under a minute.

Don’t have a Kindle? Get your Kindle here.
 
  

Elements of Programming (Hardcover)

~ Alexander Stepanov (Author), Paul McJones (Author)
4.8 out of 5 stars  See all reviews (9 customer reviews)

List Price: $39.99
Price: $31.19 & this item ships for FREE with Super Saver Shipping. Details
You Save: $8.80 (22%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Thursday, February 11? Choose One-Day Shipping at checkout. Details
35 new from $28.95 11 used from $31.06

Formats

Amazon Price New from Used from
Kindle Edition $17.59  
Hardcover $31.19  

Frequently Bought Together

Customers buy this book with Coders at Work by Peter Seibel

Elements of Programming + Coders at Work
  • This item: Elements of Programming by Alexander A. Stepanov

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Coders at Work by Peter Seibel

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Customers Who Bought This Item Also Bought

Hacker's Delight

Hacker's Delight

by Henry S. Warren
5.0 out of 5 stars (15)  $43.99
Coders at Work

Coders at Work

by Peter Seibel
4.1 out of 5 stars (37)  $19.79
The Art of Multiprocessor Programming

The Art of Multiprocessor Programming

by Nir Shavit
4.4 out of 5 stars (10)  $40.90
The Algorithm Design Manual

The Algorithm Design Manual

by Steve Skiena
4.5 out of 5 stars (36)  $63.96
Masterminds of Programming: Conversations with the Creators of Major Programming Languages (Theory in Practice (O'Reilly))

Masterminds of Programming: Conversations with the Creators of Major Programming Languages (Theory in Practice (O'Reilly))

by Federico Biancuzzi
4.0 out of 5 stars (11)  $26.39
Explore similar items

Editorial Reviews

Review

"A wise manager will make copies available free to any members of her programming staff who commit to read it. The training budget could hardly be better spent Elements of Programming has the power to change the readers professional life." Martyn Thomas FREng, Components in Eletronics

Product Description

“Ask a mechanical, structural, or electrical engineer how far they would get without a heavy reliance on a firm mathematical foundation, and they will tell you, ‘not far.’ Yet so-called software engineers often practice their art with little or no idea of the mathematical underpinnings of what they are doing. And then we wonder why software is notorious for being delivered late and full of bugs, while other engineers routinely deliver finished bridges, automobiles, electrical appliances, etc., on time and with only minor defects. This book sets out to redress this imbalance. Members of my advanced development team at Adobe who took the course based on the same material all benefited greatly from the time invested. It may appear as a highly technical text intended only for computer scientists, but it should be required reading for all practicing software engineers.”
    —Martin Newell, Adobe Fellow

 “The book contains some of the most beautiful code I have ever seen.”
    —Bjarne Stroustrup, Designer of C++

“I am happy to see the content of Alex’s course, the development and teaching of which I strongly supported as the CTO of Silicon Graphics, now available to all programmers in this elegant little book.”
    —Forest Baskett, General Partner, New Enterprise Associates

“Paul’s patience and architectural experience helped to organize Alex’s  mathematical approach into a tightly-structured edifice—an impressive feat!”
    —Robert W. Taylor, Founder of Xerox PARC CSL and DEC Systems Research Center

Elements of Programming provides a different understanding of programming than is presented elsewhere. Its major premise is that practical programming, like other areas of science and engineering,must be based on a solid mathematical foundation. The book shows that algorithms implemented in a real programming language, such as C++, can operate in the most general mathematical setting. For example, the fast exponentiation  algorithm is defined to work with any associative operation. Using abstract algorithms leads to efficient, reliable, secure, and economical software.

This is not an easy book. Nor is it a compilation of tips and tricks for incremental improvements in your programming skills. The book’s value is more fundamental and, ultimately, more critical for insight into programming. To benefit fully, you will need to work through it from beginning to end, reading the code, proving the lemmas, and doing the exercises. When finished, you will see how the application of the deductive method to your programs assures that your system’s software components will work together and behave as they must.

The book presents a number of algorithms and requirements for types on which they are defined. The code for these descriptions—also available on the Web—is written in a small subset of C++ meant to be accessible to any experienced programmer. This subset is defined in a special language appendix coauthored by Sean Parent and Bjarne Stroustrup.

Whether you are a software developer, or any other professional for whom programming is an important activity, or a committed student, you will come to understand what the book’s experienced authors have been teaching and demonstrating for years—that mathematics is good for programming, and that theory is good for practice.


Product Details

  • Hardcover: 288 pages
  • Publisher: Addison-Wesley Professional; 1 edition (June 19, 2009)
  • Language: English
  • ISBN-10: 032163537X
  • ISBN-13: 978-0321635372
  • Product Dimensions: 9.2 x 6.6 x 0.9 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon.com Sales Rank: #39,190 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #74 in  Books > Computers & Internet > Programming > Algorithms

More About the Author

Alexander A. Stepanov
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Alexander A. Stepanov Page

Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Front Flap | Table of Contents | First Pages | Index | Back Flap | Back Cover | Surprise Me!
Search Inside This Book:

What Do Customers Ultimately Buy After Viewing This Item?

Elements of Programming
73% buy the item featured on this page:
Elements of Programming 4.8 out of 5 stars (9)
$31.19
Coders at Work
10% buy
Coders at Work 4.1 out of 5 stars (37)
$19.79
Hacker's Delight
8% buy
Hacker's Delight 5.0 out of 5 stars (15)
$43.99
Introduction to Algorithms, Third Edition
5% buy
Introduction to Algorithms, Third Edition 4.5 out of 5 stars (6)
$58.72

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(4)

Your tags: Add your first tag
 

 

Customer Reviews

9 Reviews
5 star:
 (7)
4 star:
 (2)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.8 out of 5 stars (9 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
57 of 58 people found the following review helpful:
5.0 out of 5 stars A great book, July 23, 2009
I have been wondering what to say about this book and now Peter G. Neumann said it better (see previous review). However, I can still say this: There are many good books, but few great ones. "Elements" is a great book in that it can change the way you think about programming in fundamental ways: If you "get it" programming will never be the same again for you.

Reading "Elements" requires maturity both with mathematics and with software development. Even then it is so different from most books on programming that it can be hard going. The frequent comparisons of "Elements" to Knuth's "The Art of Programming" is well earned.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
25 of 25 people found the following review helpful:
5.0 out of 5 stars An Abstract Algebra of Programs, July 15, 2009
"I believe that iterator theories are as central to Computer Science as theories of rings or Banach spaces are central to Mathematics. Every time I would look at an algorithm I would try to find a structure on which it is defined. So what I wanted to do was to describe algorithms generically. That's what I like to do. I can spend a month working on a well known algorithm trying to find its generic representation. So far, I have been singularly unsuccessful in explaining to people that this is an important activity. But, somehow, the result of the activity - STL - became quite successful." -Stepanov

I had been waiting for this book for a while, as I greatly enjoy Stepanov's unorthodox views on programming. His flat rejection of the object-oriented paradigm was what caught my attention, but he differed from the unwashed newsgroup naysayers in an important respspect -- he offered an alternative. The fact that his alternative seemed to involve applying concepts from the realm of abstract algebra to computer programming made me realize I would be spending a lot of time and thought catching up.

This is a short, but dense book. There is little trace of Knuth's sympathetic humor or Dijkstra's aesthetic passion. The material is presented as a series of definitions and sample programs, written in a programming language based on C++. Importantly, there are also exercises and projects throughout each chapter. At first attempt, these puzzlers seem to contain as much insight as the prose itself.

I look at this book as a combination of the two books that Stepanov is known to prescribe to his students, hyper-distilled into a slim few hundred pages:

"The books that I recommend to my students are The Art of Computer Programming by Donald Knuth, which is the great encyclopedia of programming techniques. ... It is something that they should keep studying for the rest of their lives. The other book that I urge my students to read is The Textbook of Algebra by George Chrystal. It is a massive two volume work covering most of elementary algebra. Sadly enough, nowadays even people with graduate degrees in Mathematics do not know most of the material in Chrystal."

More to the point, I look at this book as an intentional challenge. The preface urges the reader to consider why the material absent is absent and vice versa, a sentiment I had only seen in one other place -- Victor Vyssotsky's review of MacLane and Birkhoff. A challenge like that doesn't make for a pleasant exposition, seemingly trading approachability for a more mature understanding.

Stepanov has some great papers in the public domain -- if you are reading this review I highly reccomend seeking them out. Also see the Google Tech Talk "A Possible Future of Software Development" by Sean Parent. If you like those, you will love this.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
30 of 34 people found the following review helpful:
5.0 out of 5 stars From ACM Risks Forum, vol 25 no 74, July 23, 2009
By Peter G. Neumann (Menlo Park, California) - See all my reviews
(REAL NAME)   
What could be one of the most important books for developers of low-risk
systems has come to my attention, and deserves your consideration if you are
serious about understanding the mathematical foundations of programming and
applying them sensibly to your practice. It is not an easy read, but it is
a very compelling approach. To support its mathematically oriented
crispness, the book includes the definition of a small but elegant C++
subset that has been crafted by Sean Parent and Bjarne Stroustrup for
illustrative use in the book. I believe this material should be taught
within all computer science curricula.

A long quote and a short one on the back jacket give an idea of what is
involved:

Ask a mechanical, structural, or electrical engineer how far they would
get without a heavy reliance on a firm mathematical foundation, and they
will tell you, `not far.' Yet so-called software engineers often practice
their art with little or no idea of the mathematical underpinnings of what
they are doing. And then we wonder why software is notorious for being
delivered late and full of bugs, while other engineers routinely deliver
finished bridges, automobiles, electrical appliances, etc., on time and
with only minor defects. This book sets out to redress this imbalance.
Members of my advanced development team at Adobe who took the course based
on the same material all benefited greatly from the time invested. It may
appear as a highly technical text intended only for computer scientists,
but it should be required reading for all practicing software engineers.
-- Martin Newell, Adobe Fellow

The book contains some of the most beautiful code I have ever seen.
-- Bjarne Stroustrup

The bottom of the inside cover suggests that through this book you will come
to understand that mathematics is good for programming, and theory is good
for practice. I applaud that sentiment.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Important steps towards formalizing the work of programming
Because Ralabate's review covers the most important points, this review should be read as supplemental to it. Read more
Published 27 days ago by Trevor Baca

4.0 out of 5 stars Serious approaches to algorithms & engineering for the hardcore computer science geek
This book is heavy on math and in-depth, intricate concepts. It's somewhat low on applicability for me in my line of work - but I'm sure lots of other folks will find it very... Read more
Published 2 months ago by James Holmes

5.0 out of 5 stars Must read for all computer scientists
This book defines lots of usual STL algorithms and uses with algebra. This makes a comprehensive writing process for algorithms and concepts. Read more
Published 3 months ago by Felipe Magno De Almeida

5.0 out of 5 stars Rigorous and essential
This little book is quite unusual among current publications on programming. It
supplies a mathematical definition of the various components of a programming language,... Read more
Published 3 months ago by calvinnme

4.0 out of 5 stars Excellent mathematical foundation
Stepanov and McJones have created an excellent description of the mappings from mathematics to computer science, and I recommend this book should be in the library of every... Read more
Published 5 months ago by Kenneth A. Lloyd Jr.

5.0 out of 5 stars stricter than Knuth's Art of Computer Programming
Did you study differential calculus? While not a prerequisite for this book, if you are the type who desires rigorous maths, you almost certainly have done so. Read more
Published 7 months ago by W Boudville

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Discussion Replies Latest Post
Sketchy textbook transaction on Marketplace 18 6 hours ago
textbook scam 129 2 days ago
Math Pop Must Reads??? 13 9 days ago
C# or Java? 66 16 days ago
Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.