Is there a name for the difference of these two code styles?

前端 未结 0 1924
眼角桃花
眼角桃花 2021-01-21 13:34

When i see code from others, i mainly see two types of method-styling.

One looks like this, having many nested ifs:

void doSomething(Thing thing) {
  if (t         


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