浏览 169
分享
Reduce Nesting
Code should reduce nesting where possible by handling error cases/specialconditions first and returning early or continuing the loop. Reduce the amountof code that is nested multiple levels.
Bad | Good |
---|---|
|
|
评论列表