proposal: return sugar #14066
Labels
error-handling
Language & library change proposals that are about error handling.
FrozenDueToAge
Proposal
I looked around and didn't find any tickets about it, but what about a little bit of sugar for a optional auto return values as soon as there are assigned and none of them is nil using the following syntax?
Which unclutters the code allot when you have many return's in a function http://play.golang.org/p/2kEKXq-kUV
The text was updated successfully, but these errors were encountered: