2 ms·
Go uses `else if` as well, but since it requires braces `{ }` for statements in the "then" or else clauses, it doesn't have the dangling else problem.
by tomp 13y ago
Go uses `else if` as well, but since it requires braces `{ }` for statements in the "then" or else clauses, it doesn't have the dangling else problem.