3 ms·
Have a look at: http://stackoverflow.com/questions/208835/function-pointers-closures-and-lambda http://stackoverflow.com/questions/208835/function-pointers-...
by tom_b 15y ago
Have a look at:
http://stackoverflow.com/questions/208835/function-pointers-closures-and-lambda http://stackoverflow.com/questions/208835/function-pointers-...
This may help your thoughts in this direction. I'm beginning to think that lambdas/closures/function pointers are design techniques that we should be more fully exposed to in many languages. Of course there are trade-offs and limitations regardless of programming language, but it seems like you can get the most mileage maybe of thinking about your program design in those techniques rather than requiring some specific implementation of a lambda or closure structure.
I'm not expert in this area - look into it more, write something up, and post back to us here.
- friggeri 15y agoThanks, interesting read. Will certainly follow up if I find more interesting stuff.