3 ms·
> At the most basic level, though, the comparison remains valid, doesn't it? Given that function pointers can't close over variables in the environment, it's a
by msbarnett 15y ago
> At the most basic level, though, the comparison remains valid, doesn't it?
Given that function pointers can't close over variables in the environment, it's a fairly tenuous comparison.
The ability to pass function around is different from the ability of functions to close over their environment. When people talk about closures and their power, they're generally talking about the latter, not the former, at least in my experience.