Why can't I refactor those accumulating ifs by using a jump table?

后端 未结 0 1887
悲哀的现实
悲哀的现实 2021-01-01 20:58

I try to do a minor refactoring, but it breaks all tests.

I have a lot of ifs that I\'d like to get rid off by using a jump table.

I want to go from here :

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