• The highlighted section in Listing 7 shows a small portion of an example of a long method code smell.

    清单7中高亮显示的部分展示了一个长方法代码味道示例的一小部分。

    youdao

  • In this example, the long method has been broken into smaller methods that each do one thing and do it well.

    在这个示例中,将一个很长的方法分解为几个短方法,并且让每个短方法负责一件事情。

    youdao

  • In his book, Refactoring, Martin Fowler describes the issue with the long Method code smell quite nicely as "the longer a procedure is, the more difficult it is to understand."

    MartinFowler在他撰写的Refactoring这本书中,对代码中存在冗长方法的气味这个问题做了精妙的描述——过程越长,越难理解。

    youdao

  • In his book, Refactoring, Martin Fowler describes the issue with the long Method code smell quite nicely as "the longer a procedure is, the more difficult it is to understand."

    MartinFowler在他撰写的Refactoring这本书中,对代码中存在冗长方法的气味这个问题做了精妙的描述——过程越长,越难理解。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定