2 ms·
> Either way, when you read a return statement you'll want to re-read the code to find the context of that return. That's the ugly part of this feature. It add
by KirinDave 9y ago
> Either way, when you read a return statement you'll want to re-read the code to find the context of that return.
That's the ugly part of this feature. It adds one more place where you need to check.
Also my hair gets paler and my body grows weak thinking about using defer with named return values. Isn't Go supposed to easy to read? Isn't that like it's principle virtue?