News for hackers. Stuff that matters.
Re:Why I Don't Like Golang (2016) by earenndil on Wednesday June 12, 2019 @10:19PM (#20171318)
GNU c can have lambda expressions[1]. And clang does even have closures[2].

1: http://walfield.org/blog/2010/08/25/lambdas-in-c.html

2: https://en.wikipedia.org/wiki/Blocks_(C_language_extension)

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.