4 ms·
I feel that the original Python example is suffering from a little too much lambda. It seems like we're iterating through something to build up a computation w
by jrumbut 4y ago
I feel that the original Python example is suffering from a little too much lambda.
It seems like we're iterating through something to build up a computation we may execute later. I can conceive of a situation where you might want to do that, or at least consider it, but in general I say just do the work now and build a list of results.
- deleted 4y ago[deleted]
- BoppreH 4y agoIt looks like that because it's a minimal example. Real cases usually involve callbacks or expensive computations. How often it happens depends a lot on what you're doing.