根据不重复自己的原则,我们应该只写一次主机地址。
According to the Do Not Repeat Yourself principle, we should write the host address only once.
如果遵循“不要重复自己”原则,您会了解单一副本是权威副本。
If you "don't repeat yourself," you know that the single copy is the canonical copy.
1848年在欧洲发生的事件重复自己在阿拉伯世界?
Have the events of 1848 in Europe repeated themselves in the Arab World?
您可能还希望能够尽可能多地坚持DRY(不要重复自己)这个原则。
You also want to adhere to the DRY (Don't repeat yourself) principle as much as possible.
不管有多少次,你已经重复自己的主页上您的关键字,做两次。
No matter how many times you already repeat your keywords on your homepage, do it two more times.
需要注意的是,在重复自己的费用,静态成员与类关联的对象,不。
Note though, at the expense of repeating myself, that static members are associated with the Class, not the object.
它仍然和以前一样,它会在许多不同的场景下重复自己,不做任何改变。
Hence, it remains the same, it repeats itself in many situations without ever changing.
比如说,古希腊人认为历史是由事件构成的循环,无始无终地重复自己。
For example, the ancient Greeks regarded history as a cycle of events that repeated itself endlessly.
用上我上周视频里讲的3 -4个步骤,这样你可以避免重复自己的答案。
Use the 3 or 4 steps that I explained in last week's video. This will force you to give longer answers without repeating yourself.
他老是重蹈覆辙:他不但重复自己的错误,还经常重复他的家庭和文化的错误。
He is a repeater. He repeats not only his own mistakes; he often repeats those of his family and culture.
也许历史总是会重复自己,当所有人为了又一个“黄金热”发狂的时候,我们或许会再次迷路。
Perhaps history is repeating itself, as everyone goes wild with another case of gold fever, and we’ll lose the plot again.
如果一个人盲目自大,不能正确对待批评,他就会不断重复自己的错误,最后只能成为一个失败者。
If someone is blindly proud or he cannot deal with criticism, he will continually repeat his mistakes, and will only end up a loser.
做自己的加油站,自己给自己鼓劲,重复自己的念咒(下一条会详细说),不要害怕让人觉得很疯狂。
Be your own cheerleader, give yourself pep talks, repeat your mantra (below), and don't be afraid to seem crazy to others.
就像英国人对外国人说英语的笑话一样,我们以为,通过不断提高音量,大声重复自己的主张,我们会让他们理解。
Like the proverbial Englishman speaking to a foreigner, we thought we could make them understand us by repeating ourselves in a louder voice.
Mosca再次重复自己的建议,“大多数女性也知道发现情况不注意是不对的,但她们却不想打扰别人。”
Mosca echoed that advice. "Most women know something isn't right, but they don't want to bother anyone."
那仆人似乎认为是重复自己的话的好机会,不过稍微改变了一点儿说法:“我将从早到晚坐在这几,一天又一天地坐下去。”
The Footman seemed to think this a good opportunity for repeating his remark, with variations. 'I shall sit here, ' he said, 'on and off, for days and days.'
而他们在子类违反干燥原理(不要重复自己):如果所有的子类具有相同的功能,为什么要写它重复在每一个阶级?
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?
根据 "不要重复自己"(DRY)的原则,如果必须为数据创建人类可读和机器可读的版本,那么应该不需要分别维护两种数据格式。
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.
低重复:不要重复自己(Don ' t Repeat Yourself, DRY)是Rails社区的一个常见术语。
Low repetition: Don't Repeat Yourself, or DRY, is a common buzzword within the Rails community.
在某些方面,它们表示一种对DRY (Don ' tRepeat Yourself不要重复自己)原则的违反,这个规则是被实用主义程序员所推崇的。
In some ways, they represent a violation of the DRY (Don't Repeat Yourself) principle, espoused by the Pragmatic Programmers.
第二个是复制,ThePragmatic Programmers中称其为对DRY(不要重复自己,Don ' t Repeat Yourself)原则的违背。
The second is duplication, what the Pragmatic Programmers call violations of the DRY (Don't Repeat Yourself) principle.
他们阐述了“不要重复自己”(Don ' t Repeat Yourself,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.
我们每周开管理会和全体大会,还为经理们安排了个人登记,在专门交流链的顶端与所有经理交流。我接受了自己的大部分时间要花在重复自己说的话上(以及确保言行的前后一致)这个事实。
We have weekly management meetings, weekly all-hands meetings and I have scheduled individual check-ins with my managers, on top of all the ad-hoc communications I have with them all.
Grails利用“约定优于配置(conventionover configuration)”和“不要重复自己(don ' t repeat yourself)”的原则,极大地减少了编写典型Web应用程序所需的代码量。
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.
我想让你们综合信息来反映我们读过和讨论过的内容,形成自己的观点,而不是仅仅重复课本上的观点。
What I want is for you to synthesize information to reflect back on what we've read and discussed and to form your own ideas, not just repeat points from the textbook.
他重复着自己的话,比平常更加含糊不清地说着。
第一组的孩子们被要求重复问自己,“我工作努力吗?”
In Group One, the children were told to repeat asking themselves, "Am I working hard?"
有一天,在我第100次向他重复“不”之后,他在我自己的游戏中打败了我。
One day after I repeated "No" to him for the 100th time, he beat me at my own game.
格雷厄姆教练知道,只有一种方法可以教会孩子如何让它变得更强:你给他们做不到的事情;他们努力练习,直到发现自己可以做到,而你只需要不断地重复。
Coach Graham knew there was really only one way to teach kids how to make it stronger: You give them something they can't do; they work hard until they find they can do it, and you just keep repeating.
格雷厄姆教练知道,只有一种方法可以教会孩子如何让它变得更强:你给他们做不到的事情;他们努力练习,直到发现自己可以做到,而你只需要不断地重复。
Coach Graham knew there was really only one way to teach kids how to make it stronger: You give them something they can't do; they work hard until they find they can do it, and you just keep repeating.
应用推荐