Closed jmeaster30 closed 2 years ago
I like the style of code where if there is an if else block and then the if condition is never negated. We do this in a few places so we should fix it.
Ex: NO
if !myvariable { //some stuff } else { //other stuff }
YES
if myvariable { //other stuff } else { //some stuff }
wut
I like the style of code where if there is an if else block and then the if condition is never negated. We do this in a few places so we should fix it.
Ex: NO
YES