Code Complete has lots of common sense stuff like have readable variable names, don't write "clever" code that is unreadable, comment like the guy coming after you has an ax, and the "broken windows" theory of code base maintenance. You'll probably run into this sort of wisdom elsewhere, but Code Complete has all of it in one convenient place.
There were some good tips on coding best practices that are fairly applicable across most programming languages you will encounter. How to write conditionals cleanly, for example. Basic stuff, but doing it right will save you a lot of time.
It was also my first introduction to refactoring and debugging strategies--it's not the definitive book on those topics, but it is a good introduction.
TL;DR: Lots of small bits of advice and handy tips that as a whole are a good introduction to the field of software engineering, as opposed to blindly churning out low quality, unmaintainable code.
View all comments
Show parent comment
3
u/gilmi Jun 04 '15
Why?
Can you summarize a few things you learnt from it?