Does map() iterate through the list like \"for\" would? Is there a value in using map vs for?
If so, right now my code looks like this:
for item in item
There is a slight semantic difference, which is probably closed in python language spec. The map is explicitly parallelizable, while for only in special situations. Code can break out from for, but only escape with exception from map.
In my opinion map shouldn't also guarantee order of function application while for must. AFAIK no python implementation is currently able to do this auto-parallelization.