How can I design this better? (Avoiding a switch statement with Object Oriented design)

前端 未结 6 823
不思量自难忘°
不思量自难忘° 2020-12-30 11:23

I know a little bit about Object Oriented design, but I\'m not sure how to go about using those principles in my code. Here\'s what I\'m working on:

    pub         


        
6条回答
提交回复
热议问题