For dynamically typed languages, the tests must cover possible type errors, too.
对于动态语言来说,测试也必须覆盖可能的类型错误。
With testing, you can have the benefits of dynamically typed languages with much less of the downside.
有了测试,您就能享有动态类型语言的诸多益处,而不利之处则更少。
Many dynamically typed languages are interpreted, so you can see changes immediately after making them.
很多动态类型语言是解释性的,所以在编写程序后可以立即看到变化。
The Spring framework lets you delay binding until run time and gives you many of the capabilities of dynamically typed languages.
Spring框架使您可以将绑定推迟到运行时,并提供动态类型语言的很多功能。
Statically typed languages are usually, but not exclusively, type explicit; dynamically typed languages are almost always type-inferred.
静态类型语言通常是显式类型的,但也不完全是;而动态类型语言几乎都是隐式类型的。
Scala uses a number of techniques to minimize unnecessary syntax, making Scala code as succinct as code in most dynamically typed languages.
Scala使用了一些技巧来减少不必要的语法,使得Scala源码几乎和其他的动态语言一样简洁。
In contrast dynamically typed languages bind the type to the actual value referenced by a variable, meaning that the type of a variable can change along with the value it references.
相反的,动态类型的语言则是根据变量所引用的值来绑定类型,这意味着变量的类型可以随着它引用的值改变而改变。
This often leads fans of dynamically typed languages to accuse statically typed languages of always being too low-level to be productive languages for applications — but that's a narrow world view.
这又经常导致动态语言的支持者指责静态语言总是太低级,用它们来编写应用程序生产率很低——但那是一种很狭隘的观点。
Dynamically typed languages enforce typing at run time, usually based on an object's characteristics.
而动态类型语言通常基于一个对象的特征在运行时实施类型。
Dynamically typed languages enforce typing at run time, usually based on an object's characteristics.
而动态类型语言通常基于一个对象的特征在运行时实施类型。
应用推荐