Defer - part II
Recently I wrote a post on using defers, this is a deeper dive into the defer mechanism. As previously explained the idea of defer is to give developers a way to ensure that code is… »
Recently I wrote a post on using defers, this is a deeper dive into the defer mechanism. As previously explained the idea of defer is to give developers a way to ensure that code is… »
Go has a (sometimes) handy feature called defer. A list of commands is executed when a function exits, the defer list. This makes it simpler for a developer to place near relevant code some other… »