Probably something like "this use of function creation within a loop is acceptable since the function does not attempt to close directly over the loop counter" is clearer