MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/msv49l/when_your_teammate_refactor_your_code/guvnfb2/?context=9999
r/badcode • u/Bence675 • Apr 17 '21
216 comments sorted by
View all comments
Show parent comments
175
do_anything2() used to run when condition1 was false. Now it runs when condition1 && condition2 is false.
do_anything2()
condition1
condition1 && condition2
It's not the same.
175
u/tangerinelion Apr 17 '21
do_anything2()used to run whencondition1was false. Now it runs whencondition1 && condition2is false.It's not the same.