这说明这个变量是动态类型。
动态类型的灵活性比您想像的更重要。
The flexibility that dynamic typing permits is more important than you might think.
动态类型在原始代码行方面也可以节省精力。
At another level, dynamic typing saves effort in terms of raw lines of code.
动态类型语言,使用变量之前无需预先声明。
The language is dynamically typed. Variables do not need to be declared before being used.
在运行时,所有东西都只是动态类型的小原子。
动态类型并不意味着Clojure没有类型。
Being dynamically typed doesn't mean that Clojure doesn't have types.
首先,动态类型化的基本性质没有改变。
因为Ruby是动态类型语言,所以它不需要接口。
Because Ruby is a dynamically typed language, it doesn't require interfaces.
动态类型仍然会妨碍 Ruby 中的上下文敏感性。
The dynamic typing still hinders the context-sensitivity in Ruby.
动态类型扩展——可以用动态的方式向类和对象加入方法。
Dynamic type extension - methods can be added dynamically to classes and objects.
Groovy及其对动态类型的支持减少了要管理的文件。
With Groovy and its support for dynamic typing, there are fewer files to manage, too.
但这是一种动态类型语言,所以不必把自己关在一个小天地里。
But this is a dynamically typed language, so you needn't be concerned about boxing yourself in.
静态类型还是动态类型,这取决于何时实施类型模型。
Static versus dynamic typing depends on when a typing model is enforced.
UI开发常常需要更高的效率和灵活性,所以更适合采用动态类型。
UI development often demands better productivity and high flexibility, so dynamic typing is often preferred.
很多动态类型语言是解释性的,所以在编写程序后可以立即看到变化。
Many dynamically typed languages are interpreted, so you can see changes immediately after making them.
如果您已经习惯了强类型语言,那么动态类型看起来可能会导致混乱。
If you are accustomed to a strongly typed language, dynamic typing seems like a step toward anarchy.
使用类型引用和匿名类型的结构子类型转化(动态类型)。
Structural Subtyping (duck typing) using type inference and anonymous types.
而动态类型语言通常基于一个对象的特征在运行时实施类型。
Dynamically typed languages enforce typing at run time, usually based on an object's characteristics.
而Ruby则是在运行时给出错误消息,因为Ruby支持动态类型。
Ruby gives you an error at run time because Ruby supports dynamic typing.
在一种动态类型语言中,使用元编程特性来实现高级设计经常是必要的。
In a dynamically typed language, it is often necessary to use metaprogramming features to implement advanced designs.
这既给予了动态类型的表达能力又保留了静态类型检查的安全。
This gives the expressiveness of duck-typing with the safety of static type-checking.
从很早开始,面向对象的动态类型语言的用户就知道他们必须要进行测试。
Very early on, users of dynamically typed object-oriented languages learned that they had to test.
测试基本上是脚本编程,许多最好的脚本语言都是动态类型化的。
Testing is basically scripting, and many of the best scripting languages are dynamically typed.
Clojure是动态类型—在编译时,无需声明或了解特定类型的对象。
Clojure is dynamically typed - the specific types of objects do not need to be declared, or known, at compile time.
所以,基于动态类型和高阶函数,您可以在任何时候向类中引入任意的行为。
So based on the dynamic typing and higher-order functions, you can introduce arbitrary behavior to your classes at any time.
非常明显,你的throwit函数不能把对象的动态类型传给抛出表达式。
It is clear that your throwit function cannot pass the dynamic type of the object to the throw expression.
有了测试,您就能享有动态类型语言的诸多益处,而不利之处则更少。
With testing, you can have the benefits of dynamically typed languages with much less of the downside.
Ruby(作为动态类型的语言)让编写紧凑的代码变得简单,将困扰最小化。
Ruby (being dynamically typed) makes it simple to write compact code that can be extended with a minimum of fuss.
Spring框架使您可以将绑定推迟到运行时,并提供动态类型语言的很多功能。
The Spring framework lets you delay binding until run time and gives you many of the capabilities of dynamically typed languages.
动态类型对象可以在使用的时候带有某些限制,因为它们通常会出现在动态语言之中。
Objects of dynamic type can be used with some limitations as they usually are in dynamic languages.
应用推荐