... 在程序设计中,鸭子类型(duck typing)是动态类型的一种风格。在这种风格中,一个对象有效的语义,不是由继承自特定的类或实现特定的接口,而是由当前方法和属性的集合...
基于5490个网页-相关网页
以上来源于: WordNet
Language soft interfaces and duck typing.
语言软接口与鸭子类型。
The caveats of duck typing in a static language.
在静态语言中使用duck类型的限制。
Of particular interest is the way it handles late binding, more commonly known today as "duck typing".
其最能引起大家兴趣的地方在于它处理“晚绑定(late binding)”的方式,现在我们通常称其为“duck typing”。
应用推荐