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

By Steve McConnell

Widely one among the simplest sensible publications to programming, Steve McConnell’s unique CODE entire has been supporting builders write larger software program for greater than a decade. Now this vintage booklet has been totally up-to-date and revised with modern practices—and enormous quantities of recent code samples—illustrating the artwork and technology of software program building. shooting the physique of data on hand from study, academia, and daily advertisement perform, McConnell synthesizes the simplest strategies and must-know ideas into transparent, pragmatic counsel. it doesn't matter what your event point, improvement setting, or undertaking measurement, this booklet will tell and stimulate your thinking—and assist you construct the best quality code.
observe the undying suggestions and methods that assist you:

  • Design for minimal complexity and greatest creativity
  • Reap some great benefits of collaborative improvement
  • Apply protective programming concepts to lessen and flush out error
  • Exploit possibilities to refactor—or evolve—code, and do it accurately
  • Use building practices which are right-weight to your undertaking
  • Debug difficulties fast and successfully
  • Resolve serious building concerns early and properly
  • Build caliber into the start, center, and finish of your undertaking

Show description

Preview of Code Complete: A Practical Handbook of Software Construction, Second Edition PDF

Similar Programming books

Joe Celko's SQL for Smarties: Advanced SQL Programming Third Edition (The Morgan Kaufmann Series in Data Management Systems)

SQL for Smarties was once hailed because the first ebook dedicated explicitly to the complicated recommendations had to rework an skilled SQL programmer into knowledgeable. Now, 10 years later and within the 3rd version, this vintage nonetheless reigns ultimate because the e-book written by means of an SQL grasp that teaches destiny SQL masters.

Designing Audio Effect Plug-Ins in C++: With Digital Audio Signal Processing Theory

Not only one other theory-heavy electronic sign processing ebook, nor one other boring build-a-generic-database programming e-book, Designing Audio impact Plug-Ins in C++ promises every thing you every little thing you must be aware of to just do that, together with absolutely labored, downloadable code for dozens audio influence plug-ins and virtually offered algorithms.

Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition)

“Every C++ specialist wishes a replica of potent C++. it's an absolute must-read for an individual deliberating doing critical C++ improvement. If you’ve by no means learn powerful C++ and also you imagine you recognize every thing approximately C++, reassess. ”— Steve Schirripa, software program Engineer, Google “C++ and the C++ group have grown up within the final fifteen years, and the 3rd variation of powerful C++ displays this.

Cocoa Design Patterns

“Next time a few child exhibits up at my door inquiring for a code overview, this is often the e-book that i'm going to throw at him. ”   –Aaron Hillegass, founding father of immense Nerd Ranch, Inc. , and writer of Cocoa Programming for Mac OS X   Unlocking the secrets and techniques of Cocoa and Its Object-Oriented Frameworks   Mac and iPhone builders are frequently crushed through the breadth and class of the Cocoa frameworks.

Additional info for Code Complete: A Practical Handbook of Software Construction, Second Edition

Show sample text content

1481 A layout query like, “Will this database framework paintings? ” doesn't offer 1482 adequate path for prototyping. A layout query like, “Will this database 1483 framework help 1,000 transactions in line with moment below assumptions X, Y, and 1484 Z” presents a extra sturdy foundation for prototyping. 1485 a last threat of prototyping arises while builders don't deal with the code as 1486 throwaway code. i've got stumbled on that it's not attainable for individuals to write down the 1487 absolute minimal quantity of code to reply to a query in the event that they think that the 1488 code will finally turn out within the construction procedure. They turn out imposing 1489 the process rather than prototyping. through adopting the angle that after the query 1490 is spoke back the code might be thrown away, you could reduce this possibility. A 1491 sensible commonplace that may assistance is requiring that classification names or package deal names 1492 for prototype code be prefixed with prototype. That not less than makes a programmer 1493 think carefully ahead of attempting to expand prototype code (Stephens 2003). 1494 Used with self-discipline, prototyping is the workhorse instrument a fashion designer has to strive against 1495 layout wickedness. Used with no self-discipline, prototyping provides a few wickedness 1496 of its personal. 1497 Collaborative layout 1498 CROSS-REFERENCE For In layout, heads are usually higher than one, even if these heads are extra info on collaborative 1499 equipped officially or informally. Collaboration can take any of numerous kinds: improvement, see bankruptcy 21, “Collaborative building. ” 1500 ● You informally stroll over to a co-worker’s table and ask to dance a few 1501 rules round. © 1993-2003 Steven C. McConnell. All Rights Reserved. 1/13/2004 2:42 PM H:\books\CodeC2Ed\Reviews\Web\05-Design-HighLevel. document Code whole five. layout in development web page forty six 1502 ● You and your co-worker take a seat jointly in a convention room and draw layout 1503 choices on a whiteboard. 1504 ● You and your co-worker sit down jointly on the keyboard and do distinctive layout 1505 within the programming language you’re utilizing. 1506 ● You time table a gathering to stroll via your layout rules with a number of 1507 co-workers. 1508 ● You time table a proper inspection with the entire dependent defined in 1509 bankruptcy TBD. 1510 ● You don’t paintings with someone who can evaluate your paintings, so that you perform a little 1511 preliminary paintings, positioned it right into a drawer, and are available again to it every week later. you are going to 1512 have forgotten adequate that you can be ready to provide your self a reasonably strong 1513 evaluate. 1514 If the target is caliber coverage, I are likely to suggest the main established evaluate 1515 perform, formal inspections, for the explanations defined in bankruptcy 21, 1516 “Collaborative building. ” but when the objective is to foster creativity and to 1517 elevate the variety of layout choices generated, not only to discover mistakes, much less 1518 dependent techniques paintings higher. After you’ve settled on a selected layout, 1519 switching to a extra formal inspection can be acceptable, looking on the 1520 nature of your undertaking.

Download PDF sample

Rated 4.09 of 5 – based on 15 votes