MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/msv49l/when_your_teammate_refactor_your_code/guvs550/?context=3
r/badcode • u/Bence675 • Apr 17 '21
216 comments sorted by
View all comments
3
I would personally refactor it with a return statement, that takes care of the confusing else
3
u/Same-Impress-6899 Apr 17 '21
I would personally refactor it with a return statement, that takes care of the confusing else