摘要: A programming language is said to be dynamically typed when the majority of its type checking is performed at run-time as opposed to at compile-time. In dynamic typing values have types, but variables do not; that is, a variable can refer to a value of any type. Dynamically typed languages includeAP 阅读全文
posted @ 2012-06-07 11:03 Season2009 阅读(211) 评论(0) 推荐(0) 编辑
摘要: In computer programming with object-oriented programming languages, duck typing is a style of dynamic typing in which an object's current set of methods and properties determines the valid semantics[n. 语义学], rather than its inheritance from a particular class or implementation of a specific inte 阅读全文
posted @ 2012-06-07 09:30 Season2009 阅读(161) 评论(0) 推荐(0) 编辑