展示可以度量代码味道的工具。
“数据类”真的是一个代码味道吗?
我将使用如下的通用格式来检查每一种代码味道。
I'll use the following general format as we examine each code smell.
提供用于修复代码味道的重构和模式(在某些情况下)。
Present the refactoring and, in some cases, the patterns to fix the code smell.
描述可以指示出代码里面的问题的味道。
提供一些培训,包括代码的坏味道,重构,单元测试和测试驱动开发等。
Provide training that covers Code Smells, Refactoring, Unit Test and Test Driven Development.
当代码“散发出味道”时。
当代码“散发出味道”时。
应用推荐