2 ms·
When people say a language supports closures, they are generally talking about syntax. C does not support a convenient syntax for closures, period. Here's a gu
by icedchai 8y ago
When people say a language supports closures, they are generally talking about syntax. C does not support a convenient syntax for closures, period.
Here's a guy who developed a closure "library" for C: https://nullprogram.com/blog/2017/01/08/ https://nullprogram.com/blog/2017/01/08/
It's clever, but he actually had to resort to assembly...