关于[Domain-Driven Refactoring: Procedural Beginnings]的摘要:
As part of the red-green-refactor TDD process, the second step of making the test pass means we write the simplest (but still correct) code that can possibly work that flips our test from red to green. For me, this means in an OO language creating dumb, procedural code. I hardcode as much as I can, I don't introduce any abstractions or indirections, and try to make it as boring as I can.
原文地址: https://jimmybogard.com/domain-driven-refactoring-procedural-beginnings/