R
Roedy Green
Similar to the notation we use today, if we were using Python. if(){}
can be replaced with if and appropriate whitespace (indentation).
Parentheses for bracketing are still needed, but then they are in Java
as well.
You can get rid of the () by putting then after the condition.
if a > b
then x = b
else x = a
You might use a syntax more like the ternary if:
e.g.
a > b
? x = b
: x = a
To get rid of the need for semicolons, if you stopped thinking of a
program as an ASCII stream, you could use the notion one-statement =
one line, where the line is sometimes dynamically and automatically
wrapped when the window is not wide enough. You would use some
convention such as alternating stripe pastel backgrounds to show line
demarcations.