Re:Why I Don't Like Golang (2016)
by saagarjha on Thursday June 13, 2019 @01:17AM
(#20172001)
Note that the first example relies on multiple GCC-only features, one of which is the atrocity that is nested functions, and even then technically invokes undefined behavior.
1: http://walfield.org/blog/2010/08/25/lambdas-in-c.html
2: https://en.wikipedia.org/wiki/Blocks_(C_language_extension)