Improve writeup.

This commit is contained in:
Stephen Chung
2020-07-26 10:05:47 +08:00
parent 353df6bea1
commit ba5c4fd040
19 changed files with 156 additions and 89 deletions

View File

@@ -19,6 +19,9 @@ if foo(x) {
}
```
Braces Are Mandatory
--------------------
Unlike C, the condition expression does _not_ need to be enclosed in parentheses '`(`' .. '`)`', but
all branches of the `if` statement must be enclosed within braces '`{`' .. '`}`',
even when there is only one statement inside the branch.