你的位置: 码友网首页 / 资讯源列表 / Domain-Driven Refactoring: Procedural Beginnings

关于[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/

收录时间: 2021-07-16 浏览量: 956 分类: .NET

| 0 收藏 | 0