Buy new:
-39% $33.77
Delivery July 23 - August 13
Ships from: Amazon.com
Sold by: Amazon.com
$33.77 with 39 percent savings
List Price: $54.99

The List Price is the suggested retail price of a new product as provided by a manufacturer, supplier, or seller. Except for books, Amazon will display a List Price if the product was purchased by customers on Amazon or offered by other retailers at or above the List Price in at least the past 90 days. List prices may not necessarily reflect the product's prevailing market price.
Learn more
No Import Fees Deposit & $21.67 Shipping to Finland Details

Shipping & Fee Details

Price $33.77
AmazonGlobal Shipping $21.67
Estimated Import Fees Deposit $0.00
Total $55.44

Delivery July 23 - August 13
Or fastest delivery July 23 - August 5
$$33.77 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$33.77
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Sold by
Amazon.com
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
Eligible for Return, Refund or Replacement within 30 days of receipt
Returnable Yes
Resolutions Eligible for refund or replacement
Return Window 30 days from delivery
Refund Timelines Typically, an advance refund will be issued within 24 hours of a drop-off or pick-up. For returns that require physical verification, refund issuance may take up to 30 days after drop-off or pick up. Where an advance refund is issued, we will re-charge your payment method if we do not receive the correct item in original condition. See details here.
Late fee A late fee of 20% of the item price will apply if you complete the drop off or pick up after the ‘Return By Date’.
Restocking fee A restocking fee may apply if the item is not returned in original condition and original packaging, or is damaged or missing parts for reasons not due to Amazon or seller error. See details here.
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
Returnable Yes
Resolutions Eligible for refund or replacement
Return Window 30 days from delivery
Refund Timelines Typically, an advance refund will be issued within 24 hours of a drop-off or pick-up. For returns that require physical verification, refund issuance may take up to 30 days after drop-off or pick up. Where an advance refund is issued, we will re-charge your payment method if we do not receive the correct item in original condition. See details here.
Late fee A late fee of 20% of the item price will apply if you complete the drop off or pick up after the ‘Return By Date’.
Restocking fee A restocking fee may apply if the item is not returned in original condition and original packaging, or is damaged or missing parts for reasons not due to Amazon or seller error. See details here.

Return instructions

Item must be in original condition and packaging along with tag, accessories, manuals, and inserts. Unlock any electronic device, delete your account and remove all personal information.
Read full return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$23.79
Book is in good condition! This book is in solid used condition! Book carefully hand inspected to ensure condition! Very fast shipping directly from Amazon to ensure condition is great! I guarantee you will be happy with the condition! Book is in good condition! This book is in solid used condition! Book carefully hand inspected to ensure condition! Very fast shipping directly from Amazon to ensure condition is great! I guarantee you will be happy with the condition! See less
Delivery Friday, July 26. Order within 18 hrs 46 mins
Or fastest delivery Friday, July 12
Only 1 left in stock - order soon.
$$33.77 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$33.77
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

Code Complete: A Practical Handbook of Software Construction, Second Edition 2nd Edition

4.6 4.6 out of 5 stars 1,266 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$33.77","priceAmount":33.77,"currencySymbol":"$","integerValue":"33","decimalSeparator":".","fractionalValue":"77","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"JLRiOd%2BxrrGsdy%2BoerNR%2FTJlbXsb3sZS6XR4d9MDqorCHJH9esy204Fqfc7OkZ4Lrtw5DhxBlzsfGlX%2FAR7M84lhFPDxPf6gFnvPDY4w00uokwVY%2B5y%2B3kzJhq%2FXVOk5MUpUEg9vk9Q%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$23.79","priceAmount":23.79,"currencySymbol":"$","integerValue":"23","decimalSeparator":".","fractionalValue":"79","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"JLRiOd%2BxrrGsdy%2BoerNR%2FTJlbXsb3sZSerzPNlxy9cyzUAZr1Ymw9XwqbJZozXOVS%2FQtZ4TMRWrdtzhd0b5h0Xqn89ieT3HlUW84itW9T50x6RL%2FMYtfppNFtgCII0UhtvkDfxLtTKyq%2FZNk7jC6UVx9VbgpHrimPYX35052khxB619R1yQ69Q%3D%3D","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

Widely considered one of the best practical guides to programming, Steve McConnell’s original code complete has been helping developers write better software for more than a decade. Now this classic book has been fully updated and revised with leading-edge practices—and hundreds of new code samples—illustrating the art and science of software construction. Capturing the body of knowledge available from research, academia, and everyday commercial practice, McConnell synthesizes the most effective techniques and must-know principles into clear, pragmatic guidance. No matter what your experience level, development environment, or project size, this book will inform and stimulate your thinking—and help you build the highest quality code.

Discover the timeless techniques and strategies that help you:

  • Design for minimum complexity and maximum creativity
  • Reap the benefits of collaborative development
  • Apply defensive programming techniques to reduce and flush out errors
  • Exploit opportunities to refactor—or evolve—code, and do it safely
  • Use construction practices that are right-weight for your project
  • Debug problems quickly and effectively
  • Resolve critical construction issues early and correctly
  • Build quality into the beginning, middle, and end of your project .

Frequently bought together

$33.77
Ships from and sold by Amazon.com.
+
$46.99
In Stock
Ships from and sold by Amazon.com.
Total price:
To see our price, add these items to your cart.
Details
Added to Cart
spCSRF_Control
Some of these items ship sooner than the others.
Choose items to buy together.

Customer reviews

4.6 out of 5 stars
4.6 out of 5
1,266 global ratings

Customers say

Customers say the book drills down proper programming practices and is a work of near perfection. They also find it well-structured and easy to grasp. Opinions are mixed on the longevity, with some finding it timeless and classic, while others say it's getting dated.

AI-generated from the text of customer reviews

125 customers mention "Complexity level"118 positive7 negative

Customers find the book very specific, easy to understand, and practical. They also say the examples are easy to follow and the instructions are clear. Readers mention that the concepts are still valid and have influenced their real-life personal habits. They say the book works well for any programmer in any language and has no code.

"...This chapter is new in the second edition. The summary of refactoring is OK, but a good part of the chapter consists of just listing different kinds..." Read more

"...But it absolutely helps give more confidence when constructing software, when giving code reviews, and when forming a culture of good habits on your..." Read more

"...On a different note, although some of the on-line accompanying material is fascinating..." Read more

"...The book collects a huge body of programming lore, that is often rediscovered or passed on as superstition between programmers...." Read more

101 customers mention "Readability"93 positive8 negative

Customers find the book well-structured, easy to grasp, and thorough. They also say the content rolls admirably and contains useful information regarding design. Readers also mention that the 250 pages of real content is exceptional.

"...good to put even a one-line calculation in a routine - the code becomes more readable, and small operations tend to turn into larger operations...." Read more

"...of software construction, it is objective and scientific, it is well-written and well-organized and it carries a lot of weight in the software..." Read more

"...However, I think that the 250 pages of real content is exceptional and all serious programmers should read this book at some point, particularly if..." Read more

"...That knowledge shows in this book and its an especially great read for those who want hard data to back up claims...." Read more

7 customers mention "Coverage"7 positive0 negative

Customers find the book provides wide coverage of almost any aspects of SW starting from design to testing. They also say encapsulation, and testing extend easily to the functional domain.

"...on abstraction, encapsulation, and testing, extend easily to the functional domain." Read more

"...This book is simply an incredibly broad and diverse collection of every tip and practice that good programmers should have...." Read more

"...This book covers each topic pretty thoroughly, and hits many good points that I often find problematic in novice programmers' coding styles and..." Read more

"...Very good coverage on how to do good software construction, from very beginning...." Read more

10 customers mention "Longevity"4 positive6 negative

Customers are mixed about the longevity of the book. Some mention it's a timeless classic and covers every aspect of software, while others say it'll get dated.

"...The concepts are still valid I think, but some of the data is pretty old.a few memorable quotes:..." Read more

"...The points it covers are not outdated but still relevant to today...." Read more

"...It was however, a rather tedious read if I'm to be honest. It's a bit dated and though it's aged fairly well it's simply a very big book making it..." Read more

"...of included languages (C++, Java, Visual Basic), the techniques do not feel dated...." Read more

7 customers mention "Writing style"0 positive7 negative

Customers find the writing style repetitive and tedious. They also say the advice is excellent.

"...Yes, this book is long, sometimes dry and repetitive, and some advice is obvious...." Read more

"...Everything is repeated at least once, adding another third to the length...." Read more

"...It was however, a rather tedious read if I'm to be honest...." Read more

"...One warning, the book gets a bit tedious after the first half...." Read more

Self-diagram of Topic Coverage from Book
5 Stars
Self-diagram of Topic Coverage from Book
Bought it used and is in good shape!Haven't read through all of it, but off to a good start.Included a picture of a self-description of how much details it'll cover in each topic in this book.
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

Reviewed in the United States on September 25, 2010
The focus of Code Complete is software construction, i.e. the coding part of software development. As Steve McConnell notes in the preface, "construction is the only activity that is guaranteed to be done". You can skip almost any step (requirements, testing etc), but if you don't write any code there is not going to be any software.

I bought my copy of the first edition of Code Complete in 1997, and I was immediately fascinated. I had never read anything like it before - a book that concentrated on the actual writing of the code. For example, it had a whole chapter on if- and case-statements, and another chapter on the naming of variables. I had no idea there was so much to learn about these seemingly straight forward activities. It was immediately useful to me, and I started to apply as much as I could of what I learnt from it.

Although it concentrated on coding, it covered a broad spectrum of activities around coding, from requirements and design to testing, debugging and optimization. It also had a great reference section with suggestions of further reading in the area of software engineering. This became my starting point for finding lots of other good books to read, like 
Peopleware: Productive Projects and Teams (Second Edition)  and  Programming Pearls (2nd Edition) .

So this summer I decided to re-read this seminal book, partly to see what's new in the second edition, and partly to see if still think it is such a great book.

To answer my own question - yes, it is still the number one book on writing code. It is near encyclopaedic in its coverage of the nuts and bolts of programming. There are chapters on the naming of variables, on organizing straight-line code, on conditionals, on loops, on lay-out, on good commenting and on how to write good methods.

In it, there are frequent references to scientific studies that support the advice given in the book. For example, how long should variable names be? Instead of just giving us his opinion, McConnell summarized the findings of several scientific studies on the subject.

Each time there is reference to a study, there is a little "hard data" symbol in the margin. There are other symbols in the margin as well, "Coding Horror" for code examples of what not to do, and "Key Point" for, well, key points. The margin is also used for cross references to other chapters, and for quotes related to the subject discussed. For me, this works really well. It is both useful and makes the text easier to read. In general, the book is very well laid out.

Some of my favourite advice from the book (all of which I remember from reading the first edition) are:

Chapter 7.1 Valid Reasons to Create a Routine - for example: Reduce complexity, Introduce an intermediate understandable abstraction, and Avoid duplicate code (there are 6 more valid reasons in this chapter). The second part of the chapter is called Operations That Seem Too Simple to Put Into Routines and contains a great example of why it can be good to put even a one-line calculation in a routine - the code becomes more readable, and small operations tend to turn into larger operations.

Page 172 (and 264 for variables) Use opposites precisely. When naming "opposite" methods and variables, be careful to use the correct pairs, like add/remove, begin/end, create/destroy etc. This makes the relationship between them clear and obvious.

Page 433 Break complicated tests into partial tests with new boolean variables. This is such a simple thing, but it makes the code a lot more readable.

Page 754 "Make the incompleteness of a statement obvi". For example, when breaking up a logical and over two lines, end the first line with && - that way, it is clear that the statement continues on the next line.

Even though the book truly is great, there are a few things to complain about. In the first edition, the chapters on layout and comments came right after the chapters on the different control structures. But in the second edition, these two chapters have been moved further back. To me, that doesn't make sense, since they too are related to how you actually write your code. Now there are chapters on testing, debugging, optimization and refactoring in between.

And talking about refactoring: while this is an important subject, I don't feel the chapter on refactoring is particularly good. This chapter is new in the second edition. The summary of refactoring is OK, but a good part of the chapter consists of just listing different kinds of refactorings.

Overall though, the second edition is a nice face lift. The code examples are now mostly in Java, C++ or Visual Basic (in the first edition they were in Pascal, C or Ada). But since all the major themes of the book were already present in the first edition, it does not make a big difference if you happen to read the first edition instead of the second edition.

Code Complete is thick - 862 pages (not counting the bibliography and index). If that feels like a lot to read, then I suggest you start by just reading one or two chapters, for example "Using Conditionals" or "Layout and Style". They (and pretty much any chapter in the book) can easily be read without first reading the preceding chapters, and these will give you a sense of what you can expect from the other chapters. Even if these are all you read, you will still get a lot of value from the book.

However, if you are a programmer and care about how you write code, you owe it to yourself to read the whole book. It is considered by many (including me) to be the best book available on programming, and it will almost certainly make you a better programmer. Highly recommended.
31 people found this helpful
Report
Reviewed in the United States on November 23, 2017
This book deserves 5 stars because it is a comprehensive analysis of software construction, it is objective and scientific, it is well-written and well-organized and it carries a lot of weight in the software industry (yes, this is important).

Comprehensive Analysis of Software Construction
This book’s scope is the “construction” of software which primarily includes detailed design, coding, debugging, integration and developer testing. According to McConnell, there wasn’t a book written on the construction aspect of programming at the time of writing the first volume (in 1993). Also, according to McConnell, construction is the most important part of programming as it takes up the most time, it must be done, and it has the biggest impact on the success of a project. To sum it up, this book touches on everything you need to know during the construction phase and has a chapter devoted to each topic. My favorite chapters are Chapter 6 (Working Classes), Chapter 21 (Collaborative Construction) and Chapter 33 (Personal Character). Go look at the table of contents if you don’t believe this book is comprehensive.

Objective and Scientific
McConnell backs up most of his claims with scientific evidence (referencing the results of different programming studies) throughout the book. He is also objective and presents dissenting opinions when there isn’t a clear winner. He is also honest when there isn’t much evidence to support his claims (for example, there isn’t actually much evidence backing up his documentation techniques even though they are probably best practice). This builds trust between the reader and the author. We know he has done his due diligence and we don’t need to go fact check everything. His technique of backing up opinions with scientific studies is surprisingly lacking in most software communities. It makes me realize how often we spout opinions without backing them up with hard data.

Well-written and Well-organized
This book might be dry at times, but it’s very well-written and well-organized. You can skip around to different sections and use it more like a reference instead of reading cover-to-cover if you’d like. My favorite parts of its organization are the ‘Key Points’ highlighted throughout the text, the checklists and key points at the end of chapters, and helpful code examples which reinforce his points. Also, I love his metaphor that you should organize your code in a similar logical structure that you would organize a book (with table of contents, sections, chapters, etc.) Some will say the book is repetitive (and it can be), but repetition is important because you rarely remember anything after reading it once. Repetition is the way ideas are reinforced and remembered.

Carries a Lot of Weight in the Industry
Some might argue this shouldn’t be a factor when reviewing a book, but I disagree. When you are newer to the industry (I’ve been programming professionally for around 2 years), you need to learn from the best. The way you identify who is best is by someone’s reputation and status in an industry. This book (and McConnell himself) are held in high esteem by very influential people in the industry. This matters because you can trust the concepts he is advocating and move quicker in your learning.

Conclusion
Overall, this book is a must-read for programmers and will probably have the best ROI for programmers who have been working professionally for 1-2 years (because you’ve seen some of the good and some of the bad practices that McConnell talks about). Yes, this book is long, sometimes dry and repetitive, and some advice is obvious. But it absolutely helps give more confidence when constructing software, when giving code reviews, and when forming a culture of good habits on your team.

The main takeaway is this: your number one goal as a programmer is to manage complexity. Make things easier to understand, more readable and more maintainable - it will save time in the long-run. We spend much more time reading code than writing code. It’s important to think about the programmer who will be reading and maintaining your code (a lot of times it is yourself). We aren’t smart enough to understand entire codebases and we are limited by our brains. Use techniques like abstraction, encapsulation, self-documenting code, and collaboration with other programmers to make your code better.
43 people found this helpful
Report

Top reviews from other countries

Translate all reviews to English
Rsm
5.0 out of 5 stars Unparalleled
Reviewed in Brazil on June 21, 2022
This book is an awesome reading dor anyone serious about software development.

It may take a while to master its content but totally worth the time and price.
lollollol
5.0 out of 5 stars cool
Reviewed in Italy on May 7, 2024
teaches how do u write beautiful and cool
code fr
Placeholder
5.0 out of 5 stars Grt
Reviewed in India on November 13, 2023
Nice and must to have one with any programmer........ original and new book....
José Huerta Ibarra
5.0 out of 5 stars A este libro le llaman "La Biblia del cómputo"
Reviewed in Mexico on April 9, 2021
Es un libro de consulta para resolver cualquier problema que tenga el programador en la elaboración de programas complejos. Siempre surgen dudas sobre como realizar algunas tareas de diferente dificultad. Code Complete es un recurso de indudable utilidad, pues no solo orienta al programador sobre cómo solucionar determinado problema sino que señala cual es el contexto, la estructura general que subyace en la programación. Indudablemente es un libro que debe formar parte de la biblioteca de todo programador.
Ahmed ElShenawy
5.0 out of 5 stars Great condition and quality
Reviewed in Germany on July 30, 2022
Book arrived protected without scratches or bumps. All pages are there.