Is splitting a switch condition into multiple functions reasonable?

后端 未结 0 1616
滥情空心
滥情空心 2020-11-27 23:46

I have several functions in the following format:

def example_function (param, a, b, c):
    # this is shared code for all param variations
   
    shared_cod         


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