invalid code type 语音验证码内容错误
identification of code type 码型识别
TYPE APPROVAL CODE 即设备型号核准号码 ; 类型批准代码
FEC code type FEC码型
Type Code 类型代码 ; 类型标志 ; 类型码 ; 型别码
code type estimation 码型估计
code-type radiosonde 电码雷送
Replace Type Code with Subclasses 用子类代替类型码 ; 以子类取代类型码 ; 用子类替代类型码 ; 以子类取代型别码
As you can see in Listing 6, generics are once again leveraged to make all of this code type safe.
从清单6中可以看出,我们再次利用泛型来使所有这些代码类型安全。
This method can be added to the code type declaration as needed.
根据需要,可以将该方法添加到代码类型声明中。
The preceding example message shows that the script code type failed to attach.
上面的示例消息说明未能附加脚本代码类型。
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.
所以更好的总结下,断言就是你放在那里告诉用户,保证你输入的是这种类型的,但我能保证剩下的代码运行正确,异常和异常处理做的事,这里有些我能预期的异常情况,并且这里有些情况,我能尝试处理。
I can't rely on Professor Guttag if I give this- if this code to him, I can't rely on him to type in a float. Actually I can, because he's a smart guy, but in general, I can't rely on the user-- I wouldn't do it right to see if you did.
当Guttag使用这段代码的时候-,我不能相信他一定会输入一个浮点数,实际上我能因为他很聪明,但是总体上来讲,别相信用户一定会按照规则来-,我会故意做错来试试你的程序的。
应用推荐