Avoid parentheses in if statement

Ballerina requires braces in if statements. But parentheses are not required around the condition.

Bad Code

if (x == 0) {
    //
}

Good Code

if x == 0 {
    //
}

See Also: