A short explainer on terminating blocks in Go, drawn from the Go language specification. A block is itself considered a terminating statement if its statement list ends in a terminating statement. This means that return and other terminating statements retain their effect regardless of how many nested code blocks wrap them.
4 Impressions