Although I am a strong advocate of unit testing, I am not a fan of test-driven development. The problem with test-driven development is that it focuses attention on getting secific features working rather than finding the best design. This is tactical programming pure and simple, with all of its disadvantages.
虽然我是单元测试的坚定拥护者,但我不是测试驱动开发的粉丝。 测试驱动开发的问题在于它将注意力集中在使特定功能工作而不是找到最佳设计上。 这是纯粹而简单的战术编程,具有所有缺点。
引自 《 A Philosophy of Software Design 》