Double Dispatch with S3 Object, One Generic Vs Two Generics

前端 未结 0 1628
逝去的感伤
逝去的感伤 2021-01-25 03:20

Suppose you are trying to emulate double dispatch using S3 and you are deciding between two methods:

Example 1: One Generic f()

f <- func         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题