C/C++ defer for the rest of us

By now, most programmers are familiar with the defer mechanism, at least in the context of Go code. Many also recognize that it’s a “nice-to-have feature” that hasn’t been implemented by mainstream C compilers.
Continue reading