cstanhope@social.coop ("Your friendly 'net denizen") wrote:
I find myself working on some old C code[1], and I find myself wanting to do things like pass around some lambda functions and other things like that. But *no*, instead I have to define an entire function and give it a *name*. And I can't even do closures, unless I do something ridiculous and pass around function pointers that take a void* parameter (which will be cast etc.), and then pass around the void* parameter too. It's just so... so... UGH...
[1] I know. I *KNOW*.