I think that's because no-one has been able to come up with a detailed,
specific proposal where the end result is both simple and clear, when
compared to the current situation.
My idea, if it's worth anything, is to have Python-style post conditionals:
return "", err if err != nil
I expect it has already been raised, and rejected for good reasons. I
remember seeing a proposal to change gofmt to format this as a single line:
if err != nil { return "", err }
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/d7c0eb1e-5f43-41d7-96d9-6e77310dec9ao%40googlegroups.com.