2 ms·
Local scope might not be what the programmer wants, though, depending on circumstance. Pseudocode: i = 3; foo = \0; while ( i-- ) { if ( foo = res
by dotancohen 7y ago
Local scope might not be what the programmer wants, though, depending on circumstance. Pseudocode:
i = 3;
foo = \0;
while ( i-- ) {
if ( foo = resultFromFooApi() ) {
break;
}
sleep 1;
}
return foo;