The best kind of polymorphism is the unintentional kind, where you discover that a function you already wrote can be applied to a type you never planned for.
最好就是无心插柳柳成荫的这种多态,这种情况下你会发现某个之前写过的函数可以用来处理一个之前没有计划到的类型。
Virtual Function is the method to realize dynamic polymorphism.
虚函数是实现动态多态性的方法。
Will Hack language support function-overloading polymorphism?
将黑客语言支持函数重载多态性?
应用推荐