Re:Show HN: Try/Catch/Finally experiment in Go
by koenigdavidmj on Thursday August 14, 2014 @05:19PM
(#8179918)
I don't see how finally (especially with the unusual order) is much cleaner than defer. That's the main advantage of defer: the idiomatic way to use defer is right after the construction of the object in question, rather than half a screenful down like it would be in Java and friends.
[ Parent
| on HN ]
There are no comments on this comment yet.