当断言失败时,非常有必要提供易于理解的错误消息。
When the assertions fail, it becomes very important to provide error messages that are easy to understand.
我必须说明,我朋友说,你看,你犯了一个可以理解的错误。
I really must explain, he said. You see, you've made a very understandable mistake.
使用采用请求-响应交互模式的同步协议,并定义最终用户可理解的错误。
Use a synchronous protocol with a request-response interaction pattern, and define faults that are understandable by the end user.
程序要么回避这些可理解的错误,要么协助用户探索不同的选择。
An application has the choice of either rebuffing those perceived mistakes or assisting users in their explorations.
一旦找到错误,它必须指出错误的真实原因,最好是提供人们能够理解的错误消息。
When it finds a mistake, it must point to the true reason for it, preferably with an error message that humans understand.
而初学者由于声乐知识的缺乏和对专业理论上理解的错误,是很容易走进学习声乐过程中的误区的。
Vocal and beginners because of a lack of knowledge and understanding of the theory of professional error, is easily walked into the process of vocal learning of the error!
通过使用本文中介绍的技巧,我们可以构建更好的解释器,它们可以生成像您自己喜欢的编译器中一样的有用的、容易理解的错误消息。
By using the tips and tricks in this article, you can build interpreters that also produce the kind of useful, easily understood error messages that you would find in your favorite compiler.
由于理解错误,她和妈妈总是在什么衣服适合她的问题上意见不一。
She and mom always disagree on what clothes fit her because of wrong understanding.
对品格的真正考验是我们是否能从错误中吸取教训,通过理解行为背后原因,探索如何避免未来出现类似问题。
The real test of character is whether we can learn from our mistake, by understanding why we acted as we did and then exploring ways to avoid similar problems in the future.
如果你学会从别人的角度去理解事情,你就能很快地从你所犯的错误和你认为别人犯的错误中学习。
If you learn to understand things from another person's point of view, you will be able to learn very quickly from the mistakes you make and the mistakes you think other people have made.
它可能包括发音或语调模式上的小错误或小困难,这些小错误并不影响整体的可理解性。
It may include minor lapses, or minor difficulties with pronunciation or intonation patterns, which do not affect overall intelligibility.
歪曲一个人所说的就是对其所说给予错误的理解。
To pervert what a person has said is to give a wrong meaning to it.
如果理解了发生错误的内容,您将学到很多知识。
科学家们对月球的理解可能是完全错误的。
RBD通常导致人们表现出他们的梦境,就像人们对于梦游的错误理解。
RBD usually results in people acting out their dreams, like the false perception people have of sleepwalking.
商业问题的错误理解。
在西方人们犯错误是可以被理解的每个人都会犯错误。
In the West, if you make a mistake it's understood that this happens.
我们对一个人的信任、尊敬和信心不断增加,我们就越能理解并容忍他们的错误。
Our trust, respect and confidence in that person grows and we are more understanding and tolerant of their mistakes when they happen.
在这个例子中,规划扑克起到了交叉检查的作用,防止对于用户故事范围的错误理解。
In this case, planning poker serves as a cross-check, preventing a gross misunderstanding about the scope of the user story.
笔者在两年前开始关注这个问题,并持有以下观点:保留原有错误,可以更好的理解错误的本质。
I examined this issue two years ago, and I support repeating the mistake in order to ensure people understand the nature of the error.
如果活动内外的数据或控制流与理解导致建模错误的原因有关,我们将使用此图上半部分中的符号。
If the data or control flow in and out of activities is relevant to understand the cause of the modeling error, we use the notation in the upper half of the figure.
不幸的是,所有这些将钱花向国内的建议都错误理解了外汇储备金的本质。
Unfortunately, all of these proposals to spend money at home misunderstand the nature of foreign reserves.
因此,仅仅通过检查源代码是很难预测和理解这些错误发生的可能性和发生的情景的。
It is extremely hard to predict and comprehend these possibilities and scenarios just by inspecting source code.
这造成了一种错误的理解,认为H1N1并非一种致命疾病。
It created the false perception that H1N1 is not a life-threatening illness.
在详细讨论上述三个原因之前,我们首先了解一些背景知识,以便更好地理解这种错误发生的原因。
Before considering each of the three causes above in more detail, let's first look at some background to help you better understand why this happens at all.
另一个错误的理解是:通用汽车的过高的人工是个最大的累赘。
Another misunderstanding is that the high price of labor is the company's greatest problem.
但是现在比以前更甚,不予理解是错误的思维定式。
但是现在比以前更甚,不予理解是错误的思维定式。
应用推荐