4 ms·
My heuristic is to prefer flatter code. Thus, I tend to use guards quite liberally, but I also tend NOT to use if (condition){ expression; break/ret
by AmpsterMan 5y ago
My heuristic is to prefer flatter code. Thus, I tend to use guards quite liberally, but I also tend NOT to use
if (condition){
expression;
break/return;
}