President Obama said there is no guarantee that all the steps agreed to at the meeting will work,but: "I think we applied the right medicine.
VOA: special.2009.04.04
Hopefully within two years, probably not next year, but within two years, there will be positive psychology class offered, but I certainly cannot guarantee it.
但愿两年内,明年可能性不大,但是两年内,学校会再次开设积极心理学课程,但我无法保证。
So, if you feel there's not enough math used, I guarantee you that I certainly know enough eventually to snow the whole class, but that's not the point.
如果你觉得我用的数学太少,我可以保证,我知道的数学知识,足以难倒在座的所有人,但这不是重点
If you think this class is going to be easy, I think it isn't actually an easy class. It's actually quite a hard class, but I think I can guarantee it's going to be a fun class.
你要是认为这门课挺简单,这不是轻松的课,事实上它有点难,我保证这门课一定很有趣
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.
所以更好的总结下,断言就是你放在那里告诉用户,保证你输入的是这种类型的,但我能保证剩下的代码运行正确,异常和异常处理做的事,这里有些我能预期的异常情况,并且这里有些情况,我能尝试处理。
应用推荐