Golang my C++ – Defer

Go! A month ago I started learning Go, since I can’t learn by doing a ton of simple samples I started implementing a physically based renderer (may be more on this later). While reading about the language features there were a couple that sounded really great. The main one being defer calls.

Objective-C my C++ – Blocks

The Objective-C side A really handy Objective-C feature that came to my attention not so long ago are blocks. Now I’m not going to write much about blocks themselves, for that there are much better docs. But here’s the basic idea: Blocks are anonymous functions that retain the environment where they are created and abstract […]