Source

Branch

1/ @eron_wolf

@rfleury

I like giant matching functions with lots of helper functions as closures with limited scope. At least then you’re kinda containing the mess.

2/ @rfleury

That is definitely fair; I build as C (and I want to build with MSVC as well as the others, so I don’t have all of the extensions), so I do not have local functions and certainly not closures, but I often find myself approximating similar patterns with command buffers. That said, I still find the statically linear flow preferable when possible.