Case vs Strategy speed

前端 未结 0 1942
生来不讨喜
生来不讨喜 2020-12-11 21:21

I\'m thinking of replacing a big case statement with a strategy pattern so that the case is handled by the program knowing what subclass it is and running the appropriate co

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