Martin McBride
Dec 14, 2022

It is possible for one function to return another function. If the returned function is a lambda, there is nothing to say that the lambda might not be reused multiple times by the calling code.

This sort of thing is not unheard of if you use Python for functional programming.

Martin McBride
Martin McBride

Responses (1)