遵循单一责任原则的最简单办法就是不断地问自己是不是这个类的每一个方法和操作都与这个类的名称直接相关。
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.
尽管秉承萨维先生最简单的快乐期望原则,我们必须要感觉到快乐,我们却依然要付出很多。
Even with incredibly simplified expectations of what Mr. Savvy and I need to feel happy, we both have to work quite a bit.
但是,从根本上说,Rails倾向于应用“用最简单的方法完成工作”这条原则,这与企业所钟爱的那些复杂方法形成了鲜明的对比。
Fundamentally though, Rails tends to apply the principle of doing the "simplest thing that could possibly work," which is in stark contrast with the approach often preferred by the enterprise.
可能履行“带来、带走”原则的最简单的方法就是提前计划和准备。
Perhaps the easiest way to practice the principle of Pack it in, Pack it Out is to plan ahead and prepare.
该国表示,实体不应再乘以超出必要性,或任何人都不应选择最简单的解释,一,规定最少的假设和原则。
It states that entities should not be multiplied beyond necessity, or that one should choose the simplest explanation, the one requiring the fewest assumptions and principles.
等待一些必然要发生的事情,也许那些事情能够教会我们如何生活,如何懂得最简单、最基本、最原始的生活原则。
Perhaps those things can teach us how to live, how to understand the simplest, the most basic, the most primitive principles of life.
从具体到抽象、特例到一般性原则是最简单的书写方法。
It is easiest to move from the concrete to the abstract, from the particular instance to the general principle.
写这个XML解析类,以功能最简单,最实用,最常用的功能为原则,因为只能解析,查找,没有XML文档生成器。
Wrote this XML analytical categories, in order to function the simplest, most practical, the most commonly used function of the principle that only analyze, and find, not XML generator.
写这个XML解析类,以功能最简单,最实用,最常用的功能为原则,因为只能解析,查找,没有XML文档生成器。
Wrote this XML analytical categories, in order to function the simplest, most practical, the most commonly used function of the principle that only analyze, and find, not XML generator.
应用推荐