top | item 45477015 (no title) lblume | 4 months ago list(map(f, ...)) should almost always be replaced with [f(x) for x in ...] though. discuss order hn newest zbentley|4 months ago I’m with you, but I see that pattern in enough code I read that it might be easier to fix (optimize) the language than the programmers here. sgarland|4 months ago Agreed; if you’re immediately requesting the entire generator, there’s little point in using it in the first place.
zbentley|4 months ago I’m with you, but I see that pattern in enough code I read that it might be easier to fix (optimize) the language than the programmers here.
sgarland|4 months ago Agreed; if you’re immediately requesting the entire generator, there’s little point in using it in the first place.
zbentley|4 months ago
sgarland|4 months ago