Comment by iainmerrick

4 years ago

Interesting, either/or could work! That's a nice idea.

Syntactically it seems unambiguous because after an 'if' you just need to check for an '(', and if you don't find it you're looking for a '{' after an expression.

You'd lose forward compatibility, but I think there's precedent for that in C language revisions.