|
|
|
|
|
by marcoms
3388 days ago
|
|
What's the argument for required brackets around if (conditions) and switch (conditions)? To me they seem redundant. -- As a side point, I hope switch statements are less like C and more like Rust (Rust happens to have better looking syntax, not just because its Rust): match <identifier> {
<val> => {
//
}
..
}
C-style always creates confusion on how to indent blocks following case statements |
|