Go's Defer
There are very few languages I’ve come across with as few “gotchas” as Go, for the most part, the language “just makes sense”. And for that reason, along with others, I am quick to say I really enjoy writing Go. And it is probably the language I write most often these days. However, there is one “gotcha” in particular that is really interesting, and that is defer.
defer is a great and powerful feature of Go.