值对应于某种属性类型 Type of Attribute
这无关病态,而是对于某种类型理想化的完美构想。
This is not about illness. This is about idealized beauty and perfection of a certain type.
在编程语言的上下文中,duck typing意味着如果一个对象对于某种类型的方法有反应,那么事实上就可以把它看作那种类型。
In the context of programming languages, duck typing means that if an object responds to the methods of a type, then for all practical purposes, you can treat it like that type.
先前的脚本实例展示过游戏AI如何给定的状态做出反应,但有时候对于游戏角色来说有必要与玩家进行某种类型的语言交互。
The previous script examples show how game AI can respond in a given situation, but it's also sometimes necessary for game characters to have some type of verbal interaction with the player.
应用推荐