It's clear that type checking isn't enough to prove that your code is correct.
很明显,类型检查并不足以证明代码的正确性。
Static type checking will prevent non-Strings from being passed to this method.
静态类型检查会防止把非string对象传递给这个方法。
The compiler can then enforce type checking based on the declared type of the attribute named age.
然后,编译器可以根据age属性声明的类型实施类型检查。
With PHP V5, however, you can build object type checking right into the class or method declaration.
但是,如果使用PHPV5 的话,可以将对象类型检查构建到类或方法声明中。
For the trouble, you get rock-solid performance, compile-time type checking, and a very high-level language.
虽然付出了这一点成本,但可以得到非常好的性能,编译时类型检查,以及一个非常高级的语言。
It takes advantage of compiler type checking.
它会运用编译器类型检查。
It allows the compiler to perform type checking.
允许编译器执行类型检查。
A template can be thought of as a macro with type checking.
模板可以被看作是有类型检查功能的宏。
Doing so causes the compiler to perform argument type checking.
这样做会使编译器执行引数型别检查。
He would have liked stronger static type checking of template arguments.
他本来想要更强的模板参数的静态类型检验。
The type checking algorithm and some problems about implementation are also discussed.
对多态类型系统实现中的一些问题也进行了讨论。
The proposed integrity information flow mechanism can be efficiently implemented by static type checking.
所建立的完整性信息流控制机制可通过静态类型检验高效实现。
Debasish Ghosh advocates for using this kind of solutions rather than trying to achieve dynamic type checking.
DebasishGhosh提倡使用这种解决方法,而不是试图实现动态类型检查。
He is also concerned with the verification of security protocols through semantic formalisms and type checking.
他关注的领域还有通过语义形式和类型检查对安全性协议进行验证。
With type erasure, generic types are used for type checking only; afterwards, they are replaced with their upper bound.
使用类型消除(type erasure),泛型类型仅用于类型检查;然后,用它们的上界替换它们。
Guideline 1 can be ensured by type checking and throwing an error message if there is any static storage declaration in the function.
准则1可以通过类型检查得到保证,如果在函数中有任何静态存储声明,则抛出错误消息。
When using enums, it is recommended to use the new fixed underlying type specification because it has stronger type checking and code completion.
当使用枚举时,建议使用新的固定的基本类型规范,因为它具有更强的类型检查和代码完成。
Its primary purpose is to produce LINQ-compatible object models from XSD files, giving developers some measure of static type checking while accessing XML data.
它的主要目标是从xsd文件中生成兼容LINQ的对象模型,让开发人员在访问XML数据的时候可以进行一定的静态类型检查。
Although largely superseded by the ability in Lotus Notes 8.0.2 to ignore strong type checking, it can be handy if you need to support earlier versions of Lotus Notes.
虽然该组件在很大程度上被LotusNotes8.0.2中忽略强类型检查的功能取代,但是如果需要支持较早版本的Lotus Notes,那么这个组件比较方便。
Debug mode provides additional error-handling features, such as type checking and argument checking, and provides more detailed error messages than release mode does.
调试模式提供类型检查和参数检查等附加错误处理功能,而且提供比发布模式更详细的错误消息。
Generics are useful because they provide stronger compile-time type checking, require fewer explicit conversions between data types, and reduce the need for boxing operations and run-time type checks.
泛型相当有用,因为他们提供强制的编译时类型检查,要求更少的数据类型之间的显式转换,并减少装箱拆箱的操作和运行时类型检查。
If you want a language with static type-checking, you really need to design it in from the start: it drastically affects the design of the language.
如果想要具有静态类型检查的语言,那么的确需要从一开始就把它设计到语言中:它极大地影响着语言的设计。
This gives the expressiveness of duck-typing with the safety of static type-checking.
这既给予了动态类型的表达能力又保留了静态类型检查的安全。
The compiler's type-checking rules coupled with the API's signature govern what constitutes legitimate input.
编译器的类型检查规则与API签名结合确定什么是合法输入。
Echoing at a discussion on dynamic vs. static languages, Debasish Ghosh raises the issue of using dynamic type-checking while programming with static languages.
DebasishGhosh对一场动态VS .静态语言的讨论做出了回应,提出了用静态语言编程时动态类型检查的使用问题。
This is one benefit of the strong type-checking provided by LINQ.
这是LINQ所提供强型别检查的其中一项优点。
This is one benefit of the strong type-checking provided by LINQ.
这是LINQ所提供强型别检查的其中一项优点。
应用推荐