3 ms·
> C-likes also don't often have first-class functions/closures I think C is the only remaining C-like language not to have first-class functions. And there are
by paavohtl 7y ago
> C-likes also don't often have first-class functions/closures
I think C is the only remaining C-like language not to have first-class functions. And there are compiler extensions for that too.
- _bxg1 7y agoMy understanding is that in cases like Java and C++, the lambdas aren't truly first-class; they come with limitations. I could be wrong.
- hellofunk 7y agoThat's true about Java but not C++. C++11 introduced true lambdas, but Java's idea of lambdas is rather laughable by comparison and nowhere near as flexible.