DbC's "fail hard" property simplifies the debugging of contract behavior as the intended behavior of each routine is clearly specified.
契约式设计的“严重失败”性质把契约行为的调试简化为每个过程的意图被清晰地规定。
Unless we have great talent and are willing to work very hard, we are certain to fail in these occupations.
除非我们有才华横溢,并且愿意努力工作,否则我们肯定会在这些工作中失败。
Some people have good abilities and others work very hard, but they may fail.
有些人能力强,也有些人工作很努力,但他们可能会失败。
You'd better work hard from now on, or you will fail in the exam.
你最好从现在开始努力学习,否则你会考试不及格的。
When talking about the secret of his success, he said, "Many people have good abilities and many work very hard, but they may fail."
在谈到他成功的秘诀时,他说:“许多人能力很强,还有人工作十分努力,但他们可能会失败。”
Ruby was black. School leaders didn't want to accept her, so they made Ruby take a hard exam and hoped she would fail.
鲁比是黑人。学校领导不想接受她,所以他们让鲁比参加了一场困难的考试,希望她不及格。
Many presenters fail because they did not first think hard about how and what to "remove far away."
很多演讲者之所以失败是他们并没有预先想好应该“怎样”抛弃“哪些”内容。
"It is hard to fail, but it is worse never to have tried to succeed. In this life we get nothing save by effort." ~ Theodore Roosevelt.
失败很艰难,但从未设法成功更糟。在这种生活中,我们努力了也一无所获。“ ~西奥多·罗斯福。”
Yet overall, the facts are that about two-thirds of startups fail, so think hard before you ignore warning signs.
但总的说来,约有2/3的创业失败这一事实摆在眼前,所以在无视这些警告信号之前要好好考虑清楚。
And try as they may to put them to one side - some try hard, some not so much - those beliefs will influence the way they do science, and the questions they ask and fail to ask.
但是实际去做,就可能把他们放在其中一边-一些尝试很艰苦,一些能好一些-这些信念将深刻影响他们做学问的方法和他们是否能提出问题。
Expert observers say the terms are hard to evaluate, and some think the deal will fail within a matter of weeks.
专业的观察者称,这个结果很难有好转,甚至一部分专家认为这个协定的失败只是几周内的事。
The worst part is that well-meaning, hard-working, brilliant people see a significant number of their projects fail.
最糟糕的是拥有满腔热情、努力工作的优秀人员看到他们大量的项目都失败了。
Even aside from the risks involved in partition resizing, hard disks sometimes fail, and software problems can render file systems useless.
即使不考虑分区调整引入的危险,有时候硬盘故障,软件问题都会导致文件系统不可用。
Their intentions are good—she cares for the infant, he works hard to support his new family—but they fail to give each other what they really need.
他们的出发点是好的,她关心这个婴儿,他辛苦地工作挣钱养家——但他们都不能给对方真正想要的。
We learn by making mistakes too. That is, if we actually try hard enough, take a few risks and allow ourselves the opportunity to fail.
我们也通过犯错来学习——假如我们的确经过努力尝试、冒过风险、给自己失败的机会。
We are painfully learning that the world’s mega-banks are too complex to manage, too big to fail and too hard to restructure.
我们痛苦地认识到世界上的大银行都过于复杂难于管理,太大而不能失败,太难而无法调整。
It would also be a sad comment on how hard it is for smaller firms to prosper against the too-big-to-fail giants.
人们或许会悲观地想:小银行在垄断巨头的夹缝中生存,并且获得成功,这实在是太难了。
The reason charges are so high is that firms issuing equity often fail to drive a hard bargain with their bankers.
承销费用高昂的原因是:在发行新股时,企业通常不会过多和投行讨价还价。
The principle is the same: These dependencies are hard to start and slow to interact with, and they cause your tests to fail more often than they should.
原理是一样的:这些依赖项很难启动,交互起来也很慢,这使得测试比平时更容易失败。
Intermittent - Intermittent errors show up on an irregular basis and can be indicative of a nascent problem, such as when a hard disk logs a series of write errors, showing that the drive may fail.
间歇错误的出现很不规律,可以由初期问题推断,比如若硬盘记录了一系列写入错误时,往往表明此驱动器可能会出现故障。
Although it may fail occasionally, the processor works hard to guarantee that the output is a well-formed XML document.
虽然偶尔可能出错,但处理程序尽量保证输出是结构良好的XML文档。
Computers crash, hard drives fail, and sometimes, sadly, laptops are even lost or stolen.
电脑崩溃,硬盘损坏,甚至是笔记本丢失或被盗。
Don 't be too hard on yourself if you fail the first time; just tweak your approach and go again.
即使第一次失败了,别灰心,调整一下,再来一次。
I have never seen a project fail because a portlet was too hard to build, or WebSphere Portal didn't do some bit of functionality.
我还从未见过因为Portlet难于构建或者WebSpherePortal不能完成某一功能而导致项目失败。
First, some Banks need to fail-the only thing a 100% pass rate would prove is that the questions asked were not hard enough.
首先,一些银行需要破产——百分之百的通过率唯一能够证明的就是之前问的那些问题都不够强硬。
First, some Banks need to fail-the only thing a 100% pass rate would prove is that the questions asked were not hard enough.
首先,一些银行需要破产——百分之百的通过率唯一能够证明的就是之前问的那些问题都不够强硬。
应用推荐