Jump to content

Talk:Closures/Value capture: Difference between revisions

Line 21:
Wouldn't it be better if this task were to have functions/closures that didn't just return the value? Right now, the value returned is the same as the index into the list, which makes it harder to interpret the output. (Using the square of the value would be just as easy to implement, and yet be far clearer.) –[[User:Dkf|Donal Fellows]] 08:27, 21 July 2011 (UTC)
: I would be agreeable Unicon contributor --[[User:Dgamey|Dgamey]] 10:04, 21 July 2011 (UTC)
: Okay by me too. --[[User:TimToady|TimToady]] 20:48, 21 July 2011 (UTC)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.