Last active
November 15, 2018 13:01
-
-
Save negasus/4b75f677f42092fe2429aedb398d2477 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Просьба добавить доводы по поводу использования первого либо второго варианта | |
// #1 | |
for { | |
if a1 !== b1 { | |
// .. some code 1 | |
continue | |
} | |
if a2 !== b2 { | |
// .. some code 2 | |
continue | |
} | |
// .. some code 3 | |
} | |
// #2 | |
for { | |
if a1 !== b2 { | |
// .. some code 1 | |
} else if a2 !== b2 { | |
// .. some code 2 | |
} else { | |
// .. some code 3 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment