体验新版 GitCode,发现更多精彩内容 >>
Since we are using both branches of the code is preferable to use if/else over the early return.