????????????????????????????????????????????????????????????????????????
?????????????0.1?????????????????????????????????????????????????????????????????0.1??????ο???Working Effectively with Legacy Code????
???????????????????????????
???????????????????е????????????????ò???????????????????????λ??????????ζ????
????СS??“??????????2????ɡ?”
????СA??“????????Sprint???????д????????”
????СS??“??????д???????????1?????????????????3??”
????СA??“?eɡ?????”
?????????????????СS?????????????д????????????????д???????????????????????????????ɡ????????????xUnit Test Patterns???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????д??????????????????????TDD??????о????????????????????????Time and time again???????“????????????????д??????????”
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????д????????????д??????????????????????
??????????????????????????γ????????????????λ???????????????????????????в???????????????????????????????????????????£?
????//??????????????????????????
????Cost updatedCost = retrigerCost(order);
????String costMessage = generateMessage(updatedCost);
????//sendMessage(costMessage);   //???д?????????????????????????????????
????????д??????????????????????????????????“Seam”?????????????????????????????????“Enabling Point”?滻?????????????????????????????????????????ο???Working Effectively with Legacy Code????????????????????д????????????????????????????????????????飬?????????????????????
????????????????????麣?????????????????????????????????????????е???????????????????????θ???????????????????о????????????????????????й????????????????????????????????????????????????????????????????????????????????????????
?????????????????????????к?????????????????UI???????????????????????????????????????????????????????????????????????????????·????????????????÷???????????д???????????Ч?????????????????????????
????????????????????????д??????????????????????????????????
??????????????????????????
?????????????????????????????
????????????????????????????????????
??????????????????????????????????
????......
?????????????????????????????????????????????????д????????????????????????????????????????????????????????????ε??????????????????????????????????“?????”?????С??Σ????
????Wise executives seek moments of crisis?? or create the perception of crisis?? and cultivate the sense that something must change.
????Σ???????????棬??????????????ò?д????????????Σ??????????η????°汾?????????е???????????????????????????????????????????????????????????????????????У??????????????????д??????????????
?????????£????е?????????????????????????????????????????????????????д????????????????????????????????????Щ???????????ò?д????????????Σ???????????????????д?????????????????????????????????????????????????3????