Yeah, but I suppose there is nothing much there is anything we can do about it right now?
是的,我想对于这件事我们能做的很有限?
If you emphasize the word my enough, nobody can do much of anything for me and still have it be my such and such.
每件事都是能这么说的,没有人能为我做任何事,只要这是我的事。
I'm not endorsing that I'm just saying that that's something that can be done now.
我并不认可这件事情,我只是说现在能做这样的事了
If you want to get some input from the user, my God I don't want to have to program it to low level zero and 1 just to get keys from the keyboard; please let there have been someone who does that for me and indeed there are an increasingly sophisticated options that you can pull off the shelf.
如果你想获得一些用户的输入数据,我的上帝,我可不希望在键盘上敲入0,1的低水平方式来编程;,希望有个人能帮我做这件事吧,但是现有的选择,也变得日益复杂了。
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.
所以更好的总结下,断言就是你放在那里告诉用户,保证你输入的是这种类型的,但我能保证剩下的代码运行正确,异常和异常处理做的事,这里有些我能预期的异常情况,并且这里有些情况,我能尝试处理。
应用推荐