Speedy attribute lookup in dynamically typed language?
快速的属性查找,动态类型的语言?
So, I'd say yes, they're useful in any typed language.
所以,我想说的是,他们在任何类型的语言很有用。
It is flexible by being a dynamic and weakly typed language.
因为是一种动态的、弱类型语言,PHP非常灵活。
Groovy is a dynamically-typed language that runs on the JVM.
Groovy是运行于JVM之上的一种动态语言。
You could use this model to generate any latently typed language.
可以用该模型生成任何潜在类型化的语言。
Because Ruby is a dynamically typed language, it doesn't require interfaces.
因为Ruby是动态类型语言,所以它不需要接口。
I love Lisp, but Lisp is certainly in the category of a very weakly typed language.
我爱Lisp,但是Lisp当然,是属于在类型检查比较弱的语言一类。
The PHP implementation of SDOs involves mapping to a dynamic and weakly typed language.
SDO的PHP实现涉及动态和弱型态语言的映射。
A manifestly typed language forces you to declare each variable and each function argument.
显式类型语言要求声明每个变量和每个函数参数。
PHP is a dynamic typed language, so it's difficult to generate efficient machine code.
PHP是一种动态类型的语言,所以很难产生高效的机器码。
But this is a dynamically typed language, so you needn't be concerned about boxing yourself in.
但这是一种动态类型语言,所以不必把自己关在一个小天地里。
As a dynamically typed language, Ruby has great flexibility, convenience, and power, but at a cost.
做为动态类型语言,Ruby有很强的灵活性、方便性和功能性,但这些优点是有代价的。
If you are accustomed to a strongly typed language, dynamic typing seems like a step toward anarchy.
如果您已经习惯了强类型语言,那么动态类型看起来可能会导致混乱。
While C# remains a statically typed language, we aim to vastly improve the interaction with such objects.
尽管C#依然是静态类型语言,但我们的目的是改善它与这些对象的交互。
Scheme is a dynamically typed language; therefore, the type of a variable is not generally known until run time.
Scheme是一种动态类型语言;因此,变量的类型通常只有到了运行时才知道。
Now comes the real kicker: Python is a dynamically typed language, so you don't have to declare a variable's type.
问题的关键是:Python 是一种动态类型化语言,所以无需声明变量类型。
In a dynamically typed language, it is often necessary to use metaprogramming features to implement advanced designs.
在一种动态类型语言中,使用元编程特性来实现高级设计经常是必要的。
Much of your code will have the simplicity and clarity of code written in your favorite dynamically-typed language.
你的大多数代码会简单清晰,就像是用你最喜欢的动态语言写出来的一样。
They also assumed that you worked with typed data, such as a database extract, and XQuery is a strongly typed language.
他们还假设您使用有类型的数据,比如数据库抽象,而XQuery是强类型语言。
First, because Rhino is a dynamically typed language, you won't find types in its declarations of functions or variables.
首先,由于Rhino是采用动态类型的语言,因此在函数和变量的声明中看不到类型。
Dynamic typing allows all sorts of advanced meta-programming tricks that are difficult or impossible in a strongly typed language.
动态类型支持所有高级的元编程技巧,这在强类型语言中是很难实现的,甚至不可能。
As we described in the previous section, a statically typed language binds the type to a variable for the lifetime of that variable.
正如我们在前面的章节所描述的,一个静态类型的语言在一个变量的生命周期内都会绑定一个类型。
As we described in the previous section, astatically typed language binds the type to a variable for the lifetime of that variable.
正如我们在前面的章节所描述的,一个静态类型的语言在一个变量的生命周期内都会绑定一个类型。
Because Groovy is a dynamically typed language, defs do not require any type declarations for parameters, nor do defs require a return statement.
因为Groovy是动态类型的语言,所以def不需要对参数作任何类型声明,def也不需要return语句。
If you are coming from a dynamically typed language, you may find that your test suites are a little smaller, as a result, but not that much smaller.
如果你以前编写过动态类型语言,你会发现你的测试组其实会小一些,但不会小很多。
This is annoying in any language, but especially problematic for statically typed languages where one wants to map those unnamed types to actual classes.
无论在何种语言中这都是非常恼人的问题,但对于静态类型语言来说更是如此,因为开发者需要将这些无名类型映射到实际的类上。
At the extreme endpoints, a weakly typed language such as Assembler lets you assign any data type to any other (whether the assignment makes sense or not).
极端情况下,弱类型语言(例如assembler)允许将任意数据类型赋给另一种类型(不管这种赋值是否有意义)。
They get the benefits of a strongly typed language and are able to use standard debugging tools (like Eclipse) to debug their Ajax-enabled Web applications.
他们享受到了强类型语言的好处,同时又能使用标准工具(如Eclipse)调试支持 Ajax 的 Web 应用程序。
One of the benefits of the additional information is the ability to catch certain kinds of errors that a dynamically typed language won't detect until run time.
更多信息所带来的好处就是,可以更早地捕捉到某些类型的错误,而动态类型语言只有到运行时才能检测到这些错误。
NET can also be used as a strongly typed language, in which all variables are bound to a specific data type, or you can use a mix of typed and untyped variables.
NET也可用作一种强类型化语言,其中所有变量都绑定到特定数据类型,或者您还可以混合使用类型化和非类型化变量。
应用推荐