tags:

views:

191

answers:

7

What books should you read to improve your code and get used to good programming practices after getting a taste of the language?

+7  A: 

C++ Coding-Standards: 101 Rules, Guidelines, and Best Practices

---- Herb Sutter and Andrei Alexandrescu

alt text

Prasoon Saurav
+1, for once a TRUE Coding Standards, with explanations and reasoning instead of vague assumption, and nothing boring like naming conventions or brace styles.
Matthieu M.
+4  A: 

Meyers' Effective C++, "More Effective C++" and "Effective STL".

Design Patterns by the 4 guys affectionately nicknamed "the gang of four".

Lakos' Large Scale C++ Software Design.

There are of course many others, including many truly good ones, but if I had to pick 3 on C++ (counting Meyers' three thin, information-packed volumes as one;-) these would be it...

Alex Martelli
While I think Lakos' book is generally a good one to read, it has to be mentioned that it is _seriously_ out of date and much of what he has to say doesn't apply to modern C++.
sbi
I am a fan of Meyers's books.
MBennett
@sbi: Totally agree. BTW, apparently Lakos has a new version coming out early next year (about 15 years between updates, sounds about right ;-) )
Dan
@Dan: I think I've heard about him announcing this almost a decade ago, but have lost hope since the book never showed up. Do you have anything substantial to back this up?
sbi
@sbi: Fair question. I don't, it's just that I noticed Amazon has a projected date of early next year, so I figured the publisher must have some idea. I actually sent Lakos an email out of the blue late last year but never heard back. Guess that's not a good sign :-(
Dan
@Dan: Well, an estimated date of arrival in a book store seems pretty solid. So it seems he hasn't abandoned the project after all, but only delayed it for a few years. That's good news. I would really like to have a new edition of that book.
sbi
+5  A: 

I found Pragmatic programmer to be an excellent book on programming.

Check out this thread as well..

Raze2dust
`+1` for mentioning [The Definitive C++ Book Guide and List](http://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list). Basically, that answers this question.
sbi
+2  A: 

Modern C++ Design by Andrei Alexandrescu

And the usual Effective and More Effective C++ - Scott Myers

And Exceptional C++ by Herb Sutter. Guru of the week also comes in handy.

DumbCoder
+1  A: 

Code Complete 2nd Edition, by Steve McConnell

http://www.cc2e.com/

Easily the best book on good programming practices I've ever invested in.

Kevin McKelvin
A: 

Working Effectively with Legacy Code by Michael Feathers

celavek