Make parentheses for switch & if statements optional
It wouldn't be a breaking change & it would make a lot of code much cleaner.
Rust does this and it's really nice
Example:
if (a_thing == another_thing)
do_stuff ();
if a_thing == another_thing
do_stuff ();
if a_thing == another_thing {
do_stuff ();
}
switch token_type {
case TokenType.A:
do_stuff ();
break;
case TokenType.A:
do_other_stuff ();
break;
}
Edited by Zagura