Code Complete 2nd Edition(代码大全)

发表于2008年05月04日 星期日

英文名:Code Complete 2nd Edition

中文名:代码大全

作者:Steve McConnell

译者:金戈 汤凌 陈硕 张菲

出版社:Microsoft Press

Code Complete 2nd Edition(代码大全)

介绍:

The gap between the best software engineering practice and the average practice
is very wide—perhaps wider than in any other engineering discipline. A tool that
disseminates good practice would be important.
—Fred Brooks
My primary concern in writing this book has been to narrow the gap between the
knowledge of industry gurus and professors on the one hand and common commercial
practice on the other. Many powerful programming techniques hide in journals
and academic papers for years before trickling down to the programming public.
Although leading-edge software-development practice has advanced rapidly in recent
years, common practice hasn’t. Many programs are still buggy, late, and over budget,
and many fail to satisfy the needs of their users. Researchers in both the software
industry and academic settings have discovered effective practices that eliminate most
of the programming problems that have been prevalent since the 1970s. Because
these practices aren’t often reported outside the pages of highly specialized technical
journals, however, most programming organizations aren’t yet using them today.
Studies have found that it typically takes 5 to 15 years or more for a research development
to make its way into commercial practice (Raghavan and Chand 1989, Rogers
1995, Parnas 1999). This handbook shortcuts the process, making key discoveries
available to the average programmer now.

Whatever your background, this handbook can help you write better programs in less
time and with fewer headaches.
Complete software-construction reference This handbook discusses general aspects
of construction such as software quality and ways to think about programming. It gets
into nitty-gritty construction details such as steps in building classes, ins and outs of
using data and control structures, debugging, refactoring, and code-tuning techniques
and strategies. You don’t need to read it cover to cover to learn about these topics. The
book is designed to make it easy to find the specific information that interests you.
Ready-to-use checklists This book includes dozens of checklists you can use to
assess your software architecture, design approach, class and routine quality, variable
names, control structures, layout, test cases, and much more.
State-of-the-art information
This handbook describes some of the most up-to-date
techniques available, many of which have not yet made it into common use. Because
this book draws from both practice and research, the techniques it describes will
remain useful for years.
Larger perspective on software development This book will give you a chance to rise
above the fray of day-to-day fire fighting and figure out what works and what doesn’t.
Few practicing programmers have the time to read through the hundreds of books
and journal articles that have been distilled into this handbook. The research and realworld
experience gathered into this handbook will inform and stimulate your thinking
about your projects, enabling you to take strategic action so that you don’t have to
fight the same battles again and again.
Absence of hype Some software books contain 1 gram of insight swathed in 10
grams of hype. This book presents balanced discussions of each technique’s strengths
and weaknesses. You know the demands of your particular project better than anyone
else. This book provides the objective information you need to make good decisions
about your specific circumstances.
Concepts applicable to most common languages This book describes techniques
you can use to get the most out of whatever language you’re using, whether it’s C++,
C#, Java, Microsoft Visual Basic, or other similar languages.
Numerous code examples The book contains almost 500 examples of good and bad
code. I’ve included so many examples because, personally, I learn best from examples.
I think other programmers learn best that way too.
The examples are in multiple languages because mastering more than one language is
often a watershed in the career of a professional programmer. Once a programmer
realizes that programming principles transcend the syntax of any specific language,
the doors swing open to knowledge that truly makes a difference in quality and productivity.
To make the multiple-language burden as light as possible, I’ve avoided esoteric language
features except where they’re specifically discussed. You don’t need to understand
every nuance of the code fragments to understand the points they’re making. If
you focus on the point being illustrated, you’ll find that you can read the code regardless
of the language. I’ve tried to make your job even easier by annotating the significant
parts of the examples.
Access to other sources of information This book collects much of the available
information on software construction, but it’s hardly the last word. Throughout the
chapters, “Additional Resources” sections describe other books and articles you can
read as you pursue the topics you find most interesting.

下载地址:

Code Complete 2nd Edition英文版(代码大全)


标签:,

相关电子书

Leave a Reply

Site Sponsors

书籍分类