...用(通过同一结构成员名调用),这种技术实现了面向对象语言中的虚方法(virtual method)和多态编程(polymorphic programming)。
基于40个网页-相关网页
多态性是一种强大的功能,也是现代编程语言的基础之一。
Polymorphism is a powerful feature and one of the foundations of modern programming languages.
模式匹配在函数式编程中扮演了中心角色,就好像多态在面向对象编程中扮演着中心角色一样。
Pattern matching plays a central role in functional programming just as polymorphism plays a central role in object-oriented programming.
这种在运行时的类切换是面向对象编程的一个常见特性,称为多态性。
This switching of classes at run time is a common feature of object-oriented programming, known as polymorphism.
应用推荐