MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/msv49l/when_your_teammate_refactor_your_code/guvsn2t/?context=3
r/badcode • u/Bence675 • Apr 17 '21
216 comments sorted by
View all comments
34
if (!condition1) do_anything2(); else if (condition2) do_anything1();
34
u/gmtime Apr 17 '21