• The Single Responsibility Principle.

    单一职责原则

    youdao

  • Why is the Single Responsibility Principle important?

    为什么单一责任原则重要

    youdao

  • An appropriate way to do this is to think of the Single Responsibility Principle.

    单一职责原则一个方法

    youdao

  • I'd say that the very first step is to follow the Single Responsibility Principle.

    一步就是遵循单一责任原则

    youdao

  • The Single Responsibility Principle: a class should have only one reason to change.

    应该只有改变理由

    youdao

  • These components usually coalesce around a single responsibility or set of responsibilities.

    这些组件通常结合实现单个责任责任

    youdao

  • The point of the Single Responsibility Principle isn't just to write smaller classes and methods.

    单一责任原则要点不仅仅一些更小方法

    youdao

  • In addition to separating component styles, it's good to separate global style using the single responsibility principle.

    另外对于分离组件样式,将全局样式按照单一责任原则抽离开不错的。

    youdao

  • This goes against the Single Responsibility Principle [Martin2003], a means to the design goal of separation of concerns.

    违反原则[Martin2003],这是分隔职能一种设计方法。

    youdao

  • The Single Responsibility Principle (SRP)2 states that a class or module should have one, and only one, reason to change.

    单一权责原则认为,模块应有只有条加以修改理由

    youdao

  • Single Responsibility Principle was introduced Tom DeMarco in his book Structured Analysis and Systems Specification, 1979.

    单一责任原则Tom DeMarco引入,著作结构化分析系统规约”中,在1979年。

    youdao

  • In a unit test, it's the same but smallerbecause your unit obeys the single responsibility Principle, you're testing its single responsibility.

    单元测试中,与实际用例相同小,因为单元服从于“单一职责原则”,测试的单一职责。

    youdao

  • Every object in your system should have a single responsibility , and all the objects services should be focused on carrying out that single responsibility .

    系统中的对象应该只有一个单独职责所有对象关注就是自身职责的完成

    youdao

  • Apply the Single Responsibility Principle to all components, services, and other symbols. This helps make the app cleaner, easier to read and maintain, and more testable.

    所有组件服务其它符号都遵循单一职责原则这会使应用程序更干净易于阅读维护提高可测试性。

    youdao

  • Chapter 10 focuses heavily on The Single Responsibility Principle (SRP), a concept from Martin's previous work, Agile Software Development: Principles, Patterns, and Practices.

    主要讲述单一职责原则(SRP),这个原则在Martin的另一本书《敏捷软件开发原则模式与实践》中也曾讨论过。

    youdao

  • An easy way to follow the Single Responsibility Principle is to constantly ask yourself whether every method and operation of a class is directly related to the name of that class.

    遵循单一责任原则最简单办法就是不断自己是不是这个方法操作都与这个类的名称直接相关

    youdao

  • There are four things you can do to stay sane while using CSS at scale: use proper semantics, modularize, adopt a naming convention, and follow the single responsibility principle.

    大规模使用CSS时候保持理性,有一下四个方面的事情可以适当语义化,模块化采用一种命名约定遵循单一责任原则。

    youdao

  • You'll never reach true Open Closed nirvana, but you can inch much closer by rigorously following the related Single Responsibility Principle: a class should have one, and only one, reason to change

    永远达不到真正天堂但是通过严格地遵循相关的单一责任原则应该并且只有个更改的理由,你可以非常靠近地接近它

    youdao

  • Where is industry's and our recognition that protecting mankind's great treasure is the single most important responsibility?

    企业我们个人什么时候才能意识保护人类资源宝藏最最重要的责任呢?

    youdao

  • We felt that the safest approach was to assign responsibility for a given class's implementation to a single team member.

    我们觉得安全的方法每个实现责任交给单独的团队成员。

    youdao

  • Since the same handler might be passed through while processing various URIs, any common responsibility is easy to code in a single handler.

    因为处理不同URI可能使用同一个处理器,所以容易个处理器中编写通用的处理逻辑。

    youdao

  • But every single day, I am thankful for the extraordinary responsibility that the American people have placed in me.

    一天感谢美国人民赋与我这个非凡责任

    youdao

  • The person who facilitates a single study circle. This should be a facilitator's sole responsibility (don't make the mistake of asking facilitators to organize their own study circles).

    主持单一研究小组应该一个主持人唯一责任(错误地要求主持人组织各自研究会)。

    youdao

  • Single Source Responsibility: Obtain each type of carpet from one source and by a single manufacturer.

    单一来源责任必须保证地毯单一来源来自同一厂家。

    youdao

  • But they do not see the defence of the single currency as a British responsibility.

    但是做为英国责任,他们没有看到他对单一货币防卫设备。

    youdao

  • The single service chiefs would also get greater responsibility (and accountability) for managing their own organisations, a prospect they welcomed.

    各个服务站的领将承受经营各自组织大的责任义务),同时等待他们的是一个美好的前景

    youdao

  • Steering Pakistan's future is a pretty big responsibility and it should not be granted to those who are not ready to show single-minded allegiance to the cause.

    引领巴基斯坦未来相当一份责任应该那些尚未做好准备单一效忠之徒手中。

    youdao

  • Where is industry's and our recognition that protecting mankind's great treasure is the single most important responsibility?

    国网企业我们个人什么时候才能意识保护人类资源宝藏最最重要责任呢? ?

    youdao

  • Justice will be done, and not a single soul escapes responsibility for what it has done.

    对他们的审判完成,任何人可能逃脱责任

    youdao

  • Every single person that reads this petition has now the chance to show responsibility and as well the opportunity to create a positive change for the whole world.

    每一读到请愿书的当下就机会展示责任力机会去为了全世界创造积极改变

    youdao

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

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

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