Let's keep the flames alive!
Should we always put braces after an `else`, with the only exception being
another `if`?
Or should we also have exceptions for the other control structures (while, do,
for, switch)?
A.
if (...) {
...
} else {
for (...) {
...
}
}
B.
if (...) {
...
} else for (...) {
...
}
I can see arguments for&against both, so I'm not too sure which one should win.
:-)
WDYT?
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform