"Emerging markets are as victim to the world meltdown as any other economy and there are no exceptions."
VOA: special.2009.12.04
I'm sure there must have been individual exceptions to everything, but we're talking about the overwhelming reality.
我相信任何事物都会有例外情况,但是我们所讨论的是无可辩驳的事实
Those are my... those are the only two exceptions for MTV credibility, but everything else, they just need to stop.
这两个具有良好信誉的节目算是MTV的例外了,其它的都可以不要再做了。
Graduates of study programs at most foreign medical schools may have to complete two or three years of residency, although there are exceptions.
VOA: special.2009.06.02
You say, "My goodness. I can easily find exceptions to all of those rules.
说:,哦,天哪,我能很轻易地找到这些规则的例外情况。
Wednesday I'm going to talk about exceptions to absolutism, what the Dutch and what the English had in common that gave them very different political outcomes.
下节课我们将会谈到绝对主义的一些特例,荷兰和英国有何共同之处,以及它们产生的迥异的政治结果
He clearly recognizes that there are clear exceptions to his rule about armed prophets.
他清楚地体认到,关于其武装先知标准的,例外情事。
So, remember, boron was one of those exceptions to our Lewis structure rules where it was perfectly happy not having a full octet.
所以我们可以加上3个氢原子,对于BH3,这是个稳定结构,记住,B是Lewis结构的一个特例。
I know it's possible to induce chemical reactions, but these are exceptions. This is not the norm.
我知道催化化学反应是可能的,但是那些是特例,不是常规情况。
There are exceptions, but the exceptions come about due to some sort of brain damage.
也有些例外,但只是由于某些脑损伤,这些例外才得以出现
We'll get to exceptions in a second.
过一会儿会收到异常报告。
Now, there are exceptions in both directions, and as it happens the cases I know best have to do with the city of Corinth sent out a lot of colonies, which is why we know something about their arrangements.
但是现在两方面都有特例存在,而且这特例就发生在我最为熟知的科林斯,科林斯建立了很多殖民地,因此我们现在能对它的安排有所了解
There are some exceptions, which we'll get to later, but the only a big exception here is with hydrogen, which has a special stability that's associated with two electrons.
但也有一些例外我们将以后再讲,但这里只有一个较大的例外,氢,它的稳定性比较特殊,只需要两个电子。
So the exceptions are useful when you want to have the ability to say, I expect in general this kind of behavior, but I do know there are some other things that might happen and here's what I'd like to do in each one of those cases. But I do want to make sure that I don't let a value that I'm not expecting pass through.
所以当你希望有能力说,我希望一般是这样的行为,异常是很有用的,但是我明白还有一些其它的情况可能发生,我希望对每一种情况都这么做,但是我跟希望能保证,没有让一个预期之外的情况漏过去。
So, summarizing better, assert is something you put in to say to the user, make sure you're giving me input of this type, but I'm going to guarantee you the rest of the code works correctly. Exceptions and exception handlers are saying, here are the odd cases that I might see and here's what I'd like to do in those cases in order to try and be able to deal with them.
所以更好的总结下,断言就是你放在那里告诉用户,保证你输入的是这种类型的,但我能保证剩下的代码运行正确,异常和异常处理做的事,这里有些我能预期的异常情况,并且这里有些情况,我能尝试处理。
So, that's actually the electron configuration we have when we're talking about copper and some other exceptions in the periodic table that you're going to be looking at.
因此,这才是铜原子真正的电子排布,而且我们在元素周期表中,会看到与铜原子类似的,其他例外的情况。
Last thing to say is why would you want to have exceptions? Well, let's go back to that case of inputting a simple little floating point.
最后要讲的是为什么有异常处理?,回到输入一个简单的小浮点数的例子,如果我期望主要是。
The exceptions are lucid dreams where you choose what to dream about, and then possibly you could be immoral if you encourage bad habits of thought.
除了有意识的梦,在这种梦境里,你可以控制梦的内容,你可能会作恶,如果你纵容自己有这种作恶的思想的话。
Now we can think about the fourth period, and the fourth period is where we start to run into some exceptions, so this is where things get a teeny bit more complicated, but you just need to remember the exceptions and then you should be OK, no matter what you're asked to write.
现在我们可以考虑第四周期,而且在第四周期,我们会遇上一些特例,所以事情有,一点复杂,但是你只需要记住,这些特例然后就没有问题了,无论你被要求写什么。
So I'm going to distinguish in fact between un-handled exceptions, which are the things that we saw there, and handled exceptions. I'm going to show you in a second how to handle them, but let's look at an example.
所以我打算区分开不可处理的异常,以及我们刚才看到的,可以处理的异常,我一会要给你们演示下如何处理他们,给你们看一个例子。
That goes back to that idea of sort of discipline coding. It's easy to have assumptions about what you think are going to come into the program when you writ it. If you really know what they are use them as search, but if you think there's going to be some flexibility, you want to prevent the user getting trapped in a bad spot, and exceptions as a consequence are a good thing to use.
这又回到了规范编码的想法上来了,在你写代码的时候考虑,什么会进入你的代码的思考是简单的,如果你真的知道,他们是用他们来做搜索的,而你希望有一定的灵活性,你想要阻止用户,陷入一个艰难的境地,那么异常是非常实用的。
应用推荐