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 {
//
}
Ballerina requires braces in if statements. But parentheses are not required around the condition.
if (x == 0) {
//
}
if x == 0 {
//
}