10 Books that could Make you a Better C++ Programmer
I just recently read a post by Programming Zen on 10 recent books that will make you a better developer. I have a few books to add to the list although these may not be as recent and that are focused to C++... making my list really 10 classic books that will make you a better C++ developer J. Some of these books have multiple editions and the older ones can be bought cheaper and usually don’t have significant revisions. There’s one exception that I can think of, Deitel and Deitel (D&D). My copy was the 5th edition of the Deitel and Deitel book but from what I’ve heard, it fixed some voice issues and they have introduced lots of new material with each edition to address C++ and STL updates. Finally, if you’re looking for our list of Microsoft Press books for C++ developers, we have a great one on the developer center and I’ll exclude those from this list as this one is more personal and focused to books that have influenced me along the way as a developer. Here’s my list, in no particular order with exception for The Pragmatic Programmer, my dog-eared copy still serves as my developer mantra.
The Pragmatic Programmer: From Journeyman to Master by Andrew Hunt and David Thomas
|
||
Effective C++ and More Effective C++ by Scott Meyers
|
||
Practical Programming in C++ by Steve Oualline
|
||
The C++ Cookbook by D. Ryan Stephens, Christopher Diggins, Jonathan Turkanis, and Jeff Cogswell
|
||
C++ How to Program by Deitel and Deitel
|
||
Design Patterns: Elements of Reusable Object-Oriented Software by Gamma et. All
|
||
Code Complete by Steve McConnell
|
||
Writing Secure Code by Michael Howard and Steve Lipner
|
||
The Art of Computer Programming - Donald Knuth
|
||
The C++ Programming Language and by Bjarne Stroustrup
|
Here's the list from Programming Zen, with exception to debugging with DDD/Eclipse and the Agile books, these books introduce many great best practices and will help you become a better developer regardless of which language you are coding in:
1. Introduction to Algorithms, Third Edition OK, this is cheating a little. “Introduction to Algorithms” is both a classic and a book on everyone’s list. However, I opted to include it because not everyone knows that it was recently (September 2009) released in its third edition. The book received a major upgrade to the existing content and exercises, as well as including new, modern algorithms. Any programmer working through this book, or revisiting it, will learn valuable, foundational knowledge.
|
Alan Turing wrote a classic paper in 1936 with the title: “On Computable Numbers, with an Application to the Entscheidungsproblem“. It was a paper on Turing machines and the limits of computability, which had a major impact on computer science and the development of the computer you are reading this post on. Every programmer/computer scientist should get ahold of this paper and read it. Unfortunately, it isn’t exactly easy to grasp if you are not used to reading research papers. In “The Annotated Turing”, Petzold does a marvelous job of dissecting the paper (and its errata), providing ample explanations and background information over 18 chapters (360 pages vs 36 of the original paper). It manages to be rigorous while still being accessible. If this book doesn’t arouse your interest in computer science, chances are nothing will.
|
3. Growing Object-Oriented Software, Guided by Tests This book takes two fundamental pillars of modern software development, Object-Oriented Design and Test-Driven Development, and clearly illustrates how to apply the best practices of each to build and maintain complex software. I don’t know of many developers who couldn’t learn something new about TDD in the context of OOP from this book. A must read.
|
4. Clean Code While on the subject of Agile development, I can’t help but recommend “Clean Code” by Uncle Bob. It compliments “Growing Object-Oriented Software, Guided by Tests” perfectly by focusing on how to improve and refractor code to get rid of code smells. You can think of it as a very succinct version of Code Complete 2, with a strong focus on Agile craftsmanship. The examples, as per the previous book, are in Java but that shouldn’t be much of an issue for the open-minded developer. |
5. Leading Lean Software Development: Results Are not the Point Lean principles deriving from the Lean manufacturing world have been effectively translated and adapted to the field of software development. This book explains how to lead a team to success through lean software development in detail to team leaders and mentors. Having obtained a Lean Six Sigma yellow belt many years ago, this book definitely gave me a few flashbacks. If you are not familiar with the concepts presented, you’ll definitely find it food for thought. Building software requires far more than just writing quality code, and the techniques presented here are valuable, even if you don’t fully buy into this methodology. |
While on the subject of leadership, if you are in charge of software development at a small company or startup, you want to read this book. My interest in this title came from the fact that its author (Louis Testa) works as a Senior Engineering Manager at Galois, a company that uses Haskell as their technological advantage (and hired Don Stewart of Haskell fame). “Growing Software” delivered on my expectations and is full of hands-on advice on how to deal with the whole workflow surrounding the creation of software from the idea all the way to the sale and support of a product. |
7. The Art of Debugging with GDB, DDD, and Eclipse Debugging is an invaluable skill and one that is often left out from introductory programming books. Being able to effectively debug code is what separate professionals from beginners, and productive programmers from frustrated ones. This book is ruthlessly practical with many advanced techniques for debugging on Linux/Unix. It’s well worth its price in my opinion. |
8. Applied Mathematics for Database Professionals Assuming you already have a decent understanding of relational databases, and are not too scared of mathematics, this book will really bring your knowledge of how databases work to the next level, in turn improving the design, schema evolution, and SQL queries you’ll create afterwards. |
9. Programming Collective Intelligence If you are building web applications that do more than simply CRUD operations on your data, you’ll want to read this book (with examples in Python). The motivated, intermediate developer will learn how to efficiently solve complex problems related to machine learning and intelligent web algorithms from this book. It’s a very accessible introduction to tough subjects and one of the most interesting books I’ve read in some time. |
10. Coders at work To conclude this list, I wanted to include a book that’s aimed at showing programmers how some of the best programmers and computer scientists do their work. I previously enjoyed Founders at Work, and this version about programming is just as good. It’s inspiring, fun to read, and rich in insight and advice. |
See Also
- Books for Windows Developers
- 10 Recent Books that will make you a better developer [Programming Zen]
Comments
- Anonymous
August 15, 2011
I guess you could add few more books like:
- Write Great Code, vol1 and 2 -> Randall Hyde
- Thinking in C++ -> Bruce Eckel
- Design and Evolution of C++ -> Stroustrup
- Exceptional and More Exceptional C++ -> Herb Sutter
- C++ Standard Library -> Josuttis .... .... ....
Anonymous
August 16, 2011
@Sarang Thanks for the recommendations, I'll have to add them to my Amazon wishlist :)Anonymous
August 21, 2011
The comment has been removedAnonymous
August 21, 2011
Apologies for my typos in the post prior as my keyboard and/or fingers could not keep up with my thought process transmission. Thanks much.Anonymous
July 25, 2013
Ds Malik is the best book for beginners softwares-mart.blogspot.com/.../download-c-programming-ds-malik-5th.htmlAnonymous
January 05, 2014
@alvi...thank u for suggestion n link....hope dis gonna work for me...Anonymous
January 05, 2014
hello everyone.. checkout this video to know about the best c programming books.. check out this video to know about the best c programming books for beginners http://youtu.be/1TQ_AYPYREI .. thnx..Anonymous
April 04, 2014
Fill out the form And download '' Apprendre le C++, Claude Delannoy'' PDF downloadwho.com/.../04i67mAnonymous
July 13, 2014
awesome.i got more knowlegde from these books......Anonymous
February 02, 2015
Best collection by a guy www.2010bit.com/cpp-books-for-great-startAnonymous
February 22, 2015
Just wanted to add Profesional C++ by Marc Gregoire to this article. It is by far the best programming book I have read and I have read alot. I write a bit about it here www.bestbooksprogramming.com/best-cpp-books.Anonymous
August 03, 2015
LIKE OUR OLD-ENGLISH-PHRASE"IF WE DON'T LEARN BASICK-TIMES-TABLES PROPERLY, THERE WILL NEVER BE ANY YIELDS OF READING OF RESEARCH-COURSES IN THE UNITEDKINGDOM">>>>>>>>>>LIKEWISE WITHOUT ACQUIRING BASICK-FUNDAMENTAL-KNOWLEDGE IN PROGRAM-LANGUAGES&SOFTWARES,IT WILL BE INSANE& UNPRODUCTIVE 2 CONTINUING OPTIMAL-TEXT-CONTENTS&CONCEPTS IN WINDOW-DEVELOPMENTS FOR ANY COMPUTER-HARDWARE+SOFTWARE- KNOWLEDGE-GATHERINGS.STILL NOTHING WILL STOP IF WE WANT TO READ-ONlY+STORING FOR FUTURE USAGES