Is it a good idea to use labdas in one function instead of spreading the function across multiple functions?

后端 未结 0 1698
遥遥无期
遥遥无期 2021-01-31 02:19

Basically, what I mean is this:

void funcForFoo1()
{
  // ...
}

void funcForFoo2()
{
  // ...
}

void foo()
{
  // Other two functions will be used here and here         


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