If you "don't repeat yourself," you know that the single copy is the canonical copy.
如果遵循“不要重复自己”原则,您会了解单一副本是权威副本。
You also want to adhere to the DRY (Don't repeat yourself) principle as much as possible.
您可能还希望能够尽可能多地坚持DRY(不要重复自己)这个原则。
The final principle that shows up in Rails applications is Don't Repeat Yourself (DRY).
Rails应用程序中的最后原则是不要重复你自己(Don't Repeat Yourself,DRY)。
According to the Do Not Repeat Yourself principle, we should write the host address only once.
根据不重复自己的原则,我们应该只写一次主机地址。
Low repetition: Don't Repeat Yourself, or DRY, is a common buzzword within the Rails community.
低重复:不要重复自己(Don ' t Repeat Yourself, DRY)是Rails社区的一个常见术语。
It's best if you rephrase, speak slowly or repeat yourself. This is what you do with the Chinese children.
最好你改换措辞,慢慢说,或再说一次。这样就是你跟小华人说的办法。
If you want to convince others that your opinion is representative of the majority, then just repeat yourself.
如果你想说服他人你的观点是代表大多数人的,那么你只需要不断的重复它。
The second is duplication, what the Pragmatic Programmers call violations of the DRY (Don't Repeat Yourself) principle.
第二个是复制,ThePragmatic Programmers中称其为对DRY(不要重复自己,Don ' t Repeat Yourself)原则的违背。
Imagine the reaction you will get from the colleague, especially if they continue and you repeat yourself several times.
想象一下你将会这位同事收到的反应,尤其如果他们继续的且你重复几遍的时候。
In some ways, they represent a violation of the DRY (Don't Repeat Yourself) principle, espoused by the Pragmatic Programmers.
在某些方面,它们表示一种对DRY (Don ' tRepeat Yourself不要重复自己)原则的违反,这个规则是被实用主义程序员所推崇的。
Django strictly observes the Don't Repeat Yourself (DRY) principle, whereby every distinct piece of code or data lives in only one place.
Django严格遵循Don ' tRepeat Yourself (DRY)原则,因此每个不同的代码片段或数据仅在一个位置上出现。
Grails leverages the principles of convention over configuration and don't repeat yourself to greatly reduce the amount of code you need to write for a typical Web application.
Grails利用“约定优于配置(conventionover configuration)”和“不要重复自己(don ' t repeat yourself)”的原则,极大地减少了编写典型Web应用程序所需的代码量。
To instead have them in the subclass violates the principle of DRY (don't repeat yourself) : if all the subclasses have the same function, why write it repeatedly in every class?
而他们在子类违反干燥原理(不要重复自己):如果所有的子类具有相同的功能,为什么要写它重复在每一个阶级?
This approach perfectly epitomizes the DRY (Don't Repeat Yourself) principle, since the persistence logic is implemented once and mixed in domain classes as many times as needed.
这种方式完美地诠释了DRY (DontRepeat Yourself)准则,因为持久化逻辑只实现一次,在需要的时候可以多次混合到领域类中。
As suggested by proponents of the DRY principle (don't Repeat Yourself), when elements that are logically related don't change together uniformly, keeping them in sync can be problematic.
DRY (Don ' tRepeat Yourself,不要做重复的工作)原则的支持者建议,当逻辑相关的元素没有被同时统一改变的话,很难保持他们的同步。
The principle of "don't repeat yourself" (DRY) mandates that, if you must create both human- and machine-readable versions of data, you shouldn't need to maintain the two data formats separately.
根据 "不要重复自己"(DRY)的原则,如果必须为数据创建人类可读和机器可读的版本,那么应该不需要分别维护两种数据格式。
They explain the Don't Repeat Yourself (DRY) principle: If you have the same information in more than one place, it will get out of sync, and you no longer can trust any particular instance of it.
他们阐述了“不要重复自己”(Don ' t Repeat Yourself,DRY)的原则:如果您将同一信息存放在多个地方,它将失去同步,并且您不会再信任它的任何特定实例。
It's far smarter to repeat to yourself the comforting mantra that no single weather event can ever be directly tied to climate change.
明智的做法是,以那个让人舒服的说法告诫自己:单一的气候问题不能直接与气候变化相关联。
Be your own cheerleader, give yourself pep talks, repeat your mantra (below), and don't be afraid to seem crazy to others.
做自己的加油站,自己给自己鼓劲,重复自己的念咒(下一条会详细说),不要害怕让人觉得很疯狂。
In other words, pausing between paragraphs of an article and asking yourself to paraphrase the information, or repeat a fact.
换句话说,在一篇文章的段落之间暂停,并要求自己复述段落里的内容,或者背诵段落里的一个事实。
With or without an actual hypnotic induction (but preferably after one), slowly repeat the following suggestions to yourself.
不管你有没有一个实际催眠的程序(但也要遵循步骤)慢慢重复以下步骤。
Now shake yourself off, restore the pre-waking conditions, return to bed, reset your alarm, and repeat.
接着再调整一下自己,回到先前的那种状态,重新躺到床上去,重新设定好你的闹钟,并重复这样的训练。
Repeat the word "wealth" to yourself slowly and quietly for about five minutes prior to sleep and your subconscious will bring wealth to pass in your experience.
在睡觉前5分钟,慢慢地、平静地对你自己重复这个词:富裕。那么,你的潜意识会在你的经历中帮助你真地实现富裕。
Lie down in front of the TV and hold yourself in the plank position for one minute. Repeat two times. (35 calories).
平躺在电视机前,找个有支撑物的位置顶住自己1分钟。(35大卡)。
Lie down in front of the TV and hold yourself in the plank position for one minute. Repeat two times.
平躺在电视机前,找个有支撑物的位置顶住自己1分钟。
Affirmations are short phrases or sentences you repeat to yourself mentally in order to induce a certain state of mind. the classic one being.
肯定是一些你精神上重复对你自己说的短语或句子,用以引发大脑的某种状态。
That your purpose in life was ultimately to prepare yourself to raise children and have them repeat the cycle.
而你生命的目的最终也只不过是准备好养育子女并让他们重复这一过程。
To learn this item, you could just repeat it over and over to yourself each time you studied it, but it turns out that's not a particularly effective strategy for committing something to memory.
为了学习这个项目,你只需要对这个进行每次学习的时候重复再重复,但是他原来不是一个特别有效的关于记忆的策略。
To learn this item, you could just repeat it over and over to yourself each time you studied it, but it turns out that's not a particularly effective strategy for committing something to memory.
为了学习这个项目,你只需要对这个进行每次学习的时候重复再重复,但是他原来不是一个特别有效的关于记忆的策略。
应用推荐