编程匠艺 英文版 高清

所需积分/C币:10 2013-08-23 22:08:29 2.6MB PDF
2
收藏 收藏
举报

编程匠艺 英文版 高清。一本非常不错的书,值得大家好好研读。
CODE CRAFT. Copyright o 2007 by Pete Goodliffe All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic on mechanical, including photocopying, recording, or by any information storage or retrieval system, without the pric written permission of the copyright owner and the publisher Prinited onl recycled paper in the United States of Ainerica 1009080706123456789 ISBN-10:1-59327-1190 ISBN-13:978159397-1190 Publisher: William Pollock Production editor: Elizabeth Campbell Cover Design: Octopod Studios Text illustrations: David brookes Technical Reviewer: Jon Jagger opyeditor: Megan Dunchak Compositors: Megan Dunchak, Riley Hoffman, and Christina Samuell Proofreader: Stephanie Provines For information on book distributors or translations, please contact No Starch Press, Inc. directly No Starch press inc 555 De haro street suite 250. san francisco, Ca 94107 phone415.863.9900;fax:415.863.9950:info@nostarch.comwww.nostarch.com Library of Congress Cataloging in- Publication Data Goodliffe, pete Code craft: the practice of writing excellent code/ Pete Goodliffe Includes bibliographical references and index ISBN-13:978-1-59327-119-0 ISBN-10:159327-1190 1. Computer programming. 2. Programming languages (Electronic computers) 3. Computer sof tware- 0A76.6.C6562006 .1--dc22 2006015575 No Starch press and the no starch press logo are registered trademarks of no starch press, Inc. Other product and company names mentioned herein may be the trademarks of their respective owners. Rather than use a trademark symbol with every occurrence of a trademarked name, we are using the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark The information in this book is distributed on an"As Is"basis, without warranty. While every precaution has been taken in the preparation of this work, neither the author nor No Starch Press, Inc shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly hy the nformation contained in it All text illustrations copyright@ 2006 by David Brookes To Bryony, my wonderful wife To Alice who drew balloons on this book To Millie who tasted this book And to Jessica, who never got a chance to Psalm 150 BRIEF CONTENTS eface Acknowledgments About the author PART AT THE CODEFACE Chapter 1: On the Defensive Defensive Programming techniques for robust Chapter 2: The Best Laid Plans The Layout and Presentation of Source Code 23 Chapter 3: What's in a name? Giving Meaning ful Things Meaning fu/ Names 39 Chapter 4: The Write Stuff Techniques for Writing"SelF-Documenting"Code 57 hapter 5: A Passing Comme How to write Comments Chapter 6: To Err Is Human Dealing with the Inevitable-Error Conditions in Code……… 89 PART‖l THE SECRET LIFE OF CODE 109 Chapter 7: The Programmers Toolbox Using tools to .111 The Black Art of Testing Code 129 nding Fault Debugging: What to Do When Things Go Wrong 153 Chapter 10: The Code that Jack built Mechanisms to turn Source Code into executable Code 175 Chapter 1 1: the Need for Speed otimizing Programs and Writing Efficient Code l99 Chapter 12: An Insecurity Complex Writing Secure Programs 223 PARTⅢ THE SHAPE OF CODE 239 13: Grand designs How to Produce Good Software Designs 241 Chapter 14: Software Architecture Laying the Foundations of Software Design Chapter 15: Software Evolution or Software Revolution? How Does Code growa 279 PARTⅣ A HERD OF PROGRAMMERS? 293 Chapter 16: Code Monkeys Fostering the Correct Attitude and Approach to Programming 295 Chapter 17: Together We Stand Teamwork and the Individval Programmer 315 18: Practicing Safe so Source Control and self control 349 ART V PART OF THE PROCESS 365 19:Be g sp Writing Soffware Specifications 367 Chapter 20: A Review to a kill Performing code re 385 Chapter 21: How Long ls a Piece of String The black art of software timescale estimation 40 PART VI VIEW FROM THE TOP 417 Chapter 22: Recipe for a Program Code development Methodologies and Processes 419 Chapter 23: The Outer Limits The Different Programming Disciplines 441 Chapter 24: Where Next A∥/ s Well that ends well .459 Answers and discussion 463 Bibliography 559 565 CONTENTS N DETAIL PREFACE XXVII What's In lt for mea Who should Read This book2 XXIX How This Book Is Organized XXX The Chapters--A Closer Look XXXII Part l: at the codeface Part ll: the t life of code Part II The Shape of code ·· XXX art IV: A Herd of Programmers Part v part of the process art VI: From the top ∴.XXX How to use this book A Note to mentors ACKNOWLEDGMENTS ABOUT THE AUTHOR XKV PART AT THE CODEFACE ON THE DEFENSIVE Defensive Programming Techniques for robust Code 3 Toward Good Code Assume the Worst What Is Defensive Programming 6 The Big, Bad World 8 Techniques for Defensive Programming Employ a Good Coding Style esian Don' t Code in a Hurry… Trust no○ 10 Write Code for Clarity, Not Brevity Don t Let Anyone Tinker with Stuff They Shouldn't arnings Switc Use Static Analysis Tools Use safe data structures …12 ry Return value Handle Memory (and Other Precious Resources) Carefully

...展开详情
试读 127P 编程匠艺 英文版 高清
立即下载 低至0.43元/次 身份认证VIP会员低至7折
一个资源只可评论一次,评论内容不能少于5个字
qiao1er 好书,谢谢楼主分享
2015-10-20
回复
您会向同学/朋友/同事推荐我们的CSDN下载吗?
谢谢参与!您的真实评价是我们改进的动力~
上传资源赚积分or赚钱
最新推荐
编程匠艺 英文版 高清 10积分/C币 立即下载
1/127
编程匠艺 英文版 高清第1页
编程匠艺 英文版 高清第2页
编程匠艺 英文版 高清第3页
编程匠艺 英文版 高清第4页
编程匠艺 英文版 高清第5页
编程匠艺 英文版 高清第6页
编程匠艺 英文版 高清第7页
编程匠艺 英文版 高清第8页
编程匠艺 英文版 高清第9页
编程匠艺 英文版 高清第10页
编程匠艺 英文版 高清第11页
编程匠艺 英文版 高清第12页
编程匠艺 英文版 高清第13页
编程匠艺 英文版 高清第14页
编程匠艺 英文版 高清第15页
编程匠艺 英文版 高清第16页
编程匠艺 英文版 高清第17页
编程匠艺 英文版 高清第18页
编程匠艺 英文版 高清第19页
编程匠艺 英文版 高清第20页

试读结束, 可继续阅读

10积分/C币 立即下载 >