[阅读: 333] 2008-04-11 00:30:31
We started out with a transformation component that was written without taking testing into consideration at all. It consisted of a monolithic method where a number of concerns and concepts were intertwined, without any clear separation of responsibility. More informally, it was what’s often called messy code.
我们从一个转换组件开始,它在编写时根本没有考虑测试。它包含一个巨大的整体方法,其中一些考虑和概念纠缠在一起,没有清晰的分离考虑。说得更明白一些,它就是我们通常所说的乱糟糟的代码。