2 ms·
1. This is common in Go; 2. It is not about saving lines or curly braces. It is about the flow of code, and branching away when expectations are violated. It is
by rollulus 9y ago
1. This is common in Go;
2. It is not about saving lines or curly braces. It is about the flow of code, and branching away when expectations are violated. It is about helping readers of code establish a mental model of the intentions of code.