
| 本书荣获2005年《软件开发》杂志图书通用类的效率大奖 (Productivity Award).本书提炼和反映了全球模式、重构和敏捷开发社区60多位软件工程领域先驱的思想和观点。不管你正在集中精力进行遗留开发还是新型开发,本书都将帮助你学会如何安全、有效地做出重要的设计变更,使你成为更好的软件设计人员。 |
| Joshua Kerievsky Industrial Logic公司(http://industriallogic.com)的创始人,这是一家主营极限编程业务的公司。自1988年以来,作为一名专业的软件开发人员、教员和导师,他为Bankers Trust、MTV、MBNA、Ansys、MDS Sciex、Nielsen Media Research和Sun Microsystems等客户提供咨询及培训服务。他还经常在各种会议上发言,并撰写了大量的论文。. .. << 查看详细 |
| foreword by ralph johnson foreword by martin fowler preface what is this book about?. what are the goals of this book? who should read this book? what background do you need? how to use this book the history of this book standing on the shoulders of giants acknowledgments chapter 1: why i wrote this book over-engineering the patterns panacea under-engineering test-driven development and continuous refactoring refactoring and patterns evolutionary design chapter 2: refactoring what is refactoring? .what motivates us to refactor? many eyes human-readable code keeping it clean small steps design debt evolving a new architecture composite and test-driven refactorings the benefits of composite refactorings refactoring tools chapter 3: patterns what is a pattern? patterns happy there are many ways to implement a pattern refactoring to, towards, and away from patterns do patterns make code more complex? pattern knowledge up-front design with patterns chapter 4: code smells duplicated code long method conditional complexity primitive obsession indecent exposure solution sprawl alternative classes with different interfaces lazy class large class switch statements combinatorial explosion oddball solution chapter 5: a catalog of refactorings to patterns format of the refactorings projects referenced in this catalog xml builders html parser.. loan risk calculator a starting point a study sequence chapter 6: creation replace constructors with creation methods motivation mechanics example variations move creation knowledge to factory motivation mechanics example encapsulate classes with factory motivation mechanics example variations introduce polymorphic creation with factory method motivation mechanics example encapsulate composite with builder mechanics example variations inline singleton motivation mechanics example chapter 7: simplification compose method motivation mechanics example replace conditional logic with strategy motivation mechanics example move embellishment to decorator motivation mechanics example replace state-altering conditionals with state motivation mechanics example replace implicit tree with composite motivation mechanics example replace conditional dispatcher with command motivation mechanics example chapter 8: generalization form template method motivation mechanics example extract composite motivation mechanics example replace one/many distinctions with composite motivation mechanics example replace hard-coded notifications with observer motivation mechanics example unify interfaces with adapter motivation mechanics example extract adapter motivation mechanics example variations replace implicit language with interpreter motivation mechanics example chapter 9: protection replace type code with class motivation mechanics example limit instantiation with singleton motivation mechanics example introduce null object motivation mechanics example chapter 10: accumulation move accumulation to collecting parameter motivation mechanics example move accumulation to visitor motivation mechanics example chapter 11: utilities chain constructors motivation mechanics example unify interfaces motivation mechanics example extract parameter motivation mechanics example... afterword by john brant and don roberts references index |
商品评论(0条)