I'll start with a general description of the decisions any language designer must consider within a typing model, focusing on the controversial decision of static versus dynamic typing.
我首先简要介绍任何语言设计者在类型模型中必须考虑的一些决策,着重介绍静态类型和动态类型的一些不同的决策。
Initially, it may feel odd to add even more typing information to a dynamic language, after all.
毕竟,开始的时候可能觉得在一个动态语言中加入更多类型信息是多余的。
If you are accustomed to a strongly typed language, dynamic typing seems like a step toward anarchy.
如果您已经习惯了强类型语言,那么动态类型看起来可能会导致混乱。
Dynamic typing allows all sorts of advanced meta-programming tricks that are difficult or impossible in a strongly typed language.
动态类型支持所有高级的元编程技巧,这在强类型语言中是很难实现的,甚至不可能。
Pythons elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.
Python优雅的语法,动态类型,以及它天然的解释能力,使其成为了大多数平台上应用于各领域理想的脚本语言以及开发环境。
Pythons elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.
Python优雅的语法,动态类型,以及它天然的解释能力,使其成为了大多数平台上应用于各领域理想的脚本语言以及开发环境。
应用推荐