3 ms·
You're code example is technically nesting btw. That language doesn't have an "elseif", so you're actually writing the shorthand for if(!a) { ...
by y4mi 7y ago
You're code example is technically nesting btw.
That language doesn't have an "elseif", so you're actually writing the shorthand for
if(!a) {
...
} else {
if(!b){
...
} else {
...
}
}
Your point stands nonetheless. I just had to smile seeing that example