否则,内联注释的出现表明你写的代码需要解释说明,意味着这些代码需要被重构。
Otherwise, the presence of inline comments indicates that you've written code that needs explanation, meaning that it cries out for refactoring.
用Ruby写代码分析、重构工具和自动重构、格式程序等等甚至更多的工具并非不可能,但是很困难,因为还没有用Ruby代码分析Ruby源码的先例。
Code analyzers, refactoring tools and automated refactorings, formatters and more, are difficult, if not impossible, to write in Ruby, because there is no way to parse Ruby source with Ruby code.
每个周期内的典型任务包括写测试、让代码通过测试、重构代码、提交修改。
Typical tasks in his cycles are writing a test, code to pass the test, refactor the code, commit the changes.
应用推荐