If you wanted to be able to handle all types of vehicles, you could use this refactoring to change references to Automobile to references to vehicle (see Figure 5).
如果您想处理所有类型的交通工具,那么您就可以用这种重构将所有对Automobile的引用都变成对Vehicle的引用(参看图5)。
In contrast dynamically typed languages bind the type to the actual value referenced by a variable, meaning that the type of a variable can change along with the value it references.
相反的,动态类型的语言则是根据变量所引用的值来绑定类型,这意味着变量的类型可以随着它引用的值改变而改变。
It can change the content of the document by redefining entity references.
它可以通过重新定义实体引用来更改文档的内容。
应用推荐