|
|
|
|
|
by elcritch
3648 days ago
|
|
> They aren't the same as nested functions, in particular because you can't invoke a naked block multiple times, Sure you can, just use `goto`! It's fantastic for code reuse. ;p On a more serious note, gcc and clang both support block functions now. Pretty sure they aren't full closures but they can be handy in these situations. |
|