DEV Community

Discussion on: Whats the most irritating "if statement condition" that you've come across?

Collapse
 
scrineym profile image
Michael Scriney • Edited

Still trying to figure this one out

var tt= false;

if(!tt){
 //stuff
}
if(tt){
 //other stuff
}
Collapse
 
moopet profile image
Ben Sinclair

Probably for quick debugging? Rename "tt" to "debuggingModeActivatedGoFaster" for verbosity.