Type polymorphism and polymorphism in object-oriented programming: Read Wikipedia's articles about polymorphism, including subtype polymorphism.
类型多态性和面向对象编程的多态性:阅读有关多态性的Wikipedia文章,包括子类型多态性。
Pattern matching plays a central role in functional programming just as polymorphism plays a central role in object-oriented programming.
模式匹配在函数式编程中扮演了中心角色,就好像多态在面向对象编程中扮演着中心角色一样。
Most programmers — in Python or other object-oriented programming languages — who use polymorphism, do so in a rather practical and concrete way.
使用Python或其它面向对象编程语言的大多数程序员在使用多态性时都采用了一种较为实用和具体的方式。
应用推荐