????????????????????????????????????????????????????????????????????????
?????????????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????