在内心建立用控制反转编写软件的思想,会使得进行单元测试更加容易,因为你可以替换真实实现而在测试中进行模拟。
Writing your software with inversion of control in mind also makes unit testing much, much easier, because you can swap out real implementations for mocks in your tests.
如果我们认为基因就是那些使得物体独一无二的东西,那么各种东西都可以毫不费力地用基因来描述。
So if the genes are the attributes of the object that make it unique in our mind, we should have no problem coming up with genes for various things.
这一添加使得可以在允许关键字的主题结构内而不仅仅在显式允许API名称的主题结构内可以用类库短语。
This addition makes the class library phrases available within topic structures that allow keywords and not just in topic structures that explicitly allow API names.
还可以用另一种方式看待该问题:CPU的节省使得24英寸的显示器成为可能。
Another way to look at it: savings on the CPU make the big 24-inch displays feasible.
这使得可以方便地用该机器来进行快速演示(当需要时)。
This makes the machine a very handy tool for doing quick demos when required.
这种船体结构使得其它船舶,包括预置船,能够轻松的从海面用吊车和开合桥向MLP装载。
This will make it easier for other vessels, including pre-positioning ships, to load the MLP at sea using cranes and Bridges.
科赫家族继续用金钱开路,建立一系列除了名字响亮之外看似普通实则难缠的组织,这使得准确估量其在华盛顿的势力难上加难。
The Kochs continued to disperse their money, creating slippery organizations with generic-sounding names, and this made it difficult to ascertain the extent of their influence in Washington.
有这个词可用,就使得操英语人士,长期以来,可以不太担心该怎样称呼他人才为适当,用英语就能进行很有礼貌的交谈。
That has long made it possible to have a polite conversation in English, without worrying too much about what you actually call the other person.
我们用无底的斯格特帐篷作为户外厕所,它提供的庇护所使得这一基本的机能需求更令人愉悦,特别是碰上刮风下雪天的时候。
We use a floorless Scott tent as our outhouse, which helps provide a shelter to make this basic function much more pleasant, especially when the wind is howling and the snow is blowing.
Examplotron用其“聪明”的方式使得这一特性变得象其它任何特性一样简单。
Examplotron in its clever way makes this just as easy as any other feature.
这项技术使得在域逻辑中产生边缘用例更容易了。
This technique makes it easier to stimulate edge cases in your domain logic.
这就使得我要是,用我上次提过的一种技术,也就是默记法。
That will lead me to use a technique I mentioned again last time, called memoization.
用沙门氏菌培养这些癌细胞可以有效地使得身体的免疫细胞“侦察”到它们,然后开始攻击。
Treating these cancer cells with salmonella effectively makes them "visible" to the body's immune cells and therefore open to attack.
清单1中演示的争用条件常常使得对单个集合的锁在单个操作执行完毕之后还必须继续保持一段较长的时间。
The race conditions illustrated in Listing 1 often make it necessary to hold the single collection lock for much longer than it takes to execute a single operation.
用这样的方式解释不幸使得我们能得出结论说,我们那充满阳光的预期毕竟是正确的——所有事最终都是为了实现最好的结果。
Interpreting a misfortune in this way allows us to conclude that our sunny expectations were correct after all - things did work out for the best.
使用一个商业临界项目,是用最有技能的团队来使得试验更为成功。
Use a business critical project, with the most skilled team members to make the pilot successful.
您可以用标记约束该调用,使得按格式显示信息更为容易。
You can wrap that call with the tag to make it easier to digest the information.
有一个用猴子做的研究,实验的设置,使得两只猴子必须互相协作才能取得食物。
In a study using monkeys, the experiment was set up so that two monkeys obtained food by cooperating with each other.
这个免费,开源的应用程序使得人们可以用其授权、汇总、组织、分享几乎支持任何内容。
The free, open source application is an easy to use program for authoring, aggregating, organizing, and sharing almost any kind of content.
广东有一道菜很有名,就是用勺子挖活生生的猴子的大脑吃,这使得西方的动物权益保护组织非常的愤怒。
One dish, prized among some in Guangdong, is monkey brains scooped from a live animal, which has regularly upset animal rights campaigners in the West.
当互联网兴起,设计师用按钮与超链接建立起的交互界面使得它能够为每个人所用。
When the Internet happened, they created interfaces with buttons and hyperlinks that enabled us all to use it.
长期以来,他一直用授予荣誉来换取对公益事业的捐赠,这有利于统治乡下农民,但庇佑制度使得王室影响力得以持续。
He has long bestowed honours in exchange for donations to his good causes. The causes may benefit his beloved rural poor, but the patronage system perpetuates royal influence.
用大坝阻断河流使得鱼类无法逆流而上去产卵,同时淤泥无法顺流而下去肥沃土地。
Blocking a river with a dam also blocks the movement of fish upstream to spawn and the movement of silt downstream to fertilise fields.
用大写字母来定义变量也很有用,这样就使得这些变量在脚本中更容易识别。
It is also useful to define variables in capital letters so that they can easily be identified within a script.
科学家更乐于用实验室里的动物们的宝宝来做实验,因为对这些动物用药史的了解使得它们的实验数据更可靠。
Scientists prefer to work with the offspring of animals raised in laboratories because knowledge of the creatures’ complete medical history makes them more dependable.
事实上,美国哈佛大学的研究人员估计,用坚果类代替相同当量的碳水化合物摄入能够使得心脏病的风险降低30%。
In fact, Harvard University researchers estimate that substituting nuts for an equivalent amount of carbohydrates results in a 30 percent reduction in heart-disease risk.
大家对金融稳定的态度从无所谓转变为关心后,使得避税港用什么来承担债务和风险变得更加困难,比方说,用对冲基金交易外国衍生产品。
As blase attitudes to financial stability give way to concern, tax havens make it harder to gain a true picture of where debt and risk lie, for example in hedge funds trading exotic derivatives.
去年,仅仅是对于规避规则的会谈便使得俄罗斯坏了规矩,用所谓的“安全”考虑作为借口向印度出售铀燃料。
Mere talk of fudging the rules last year encouraged Russia to break them, citing spurious “safety” concerns as an excuse to sell India uranium fuel.
到了公元5世纪,马项圈(见图)出现了,这使得马可以用肩力拉车。
By the 5th century, the horse collar (pictured above), which allows the horse to push with its shoulders, was developed.
语言内嵌的服务概念使得人们可以用简化且直截了当的方式创建并使用服务。
The language built-in notion of service enables the creation and use of services in a simplified and straight-forward way.
应用推荐