Talk:Apply a callback to an array: Difference between revisions

(→‎specifying callback: clarification)
Line 24:
:I was never really clear on what a callback is. Is it like a composition operator? --[[User:Mwn3d|Mwn3d]] 19:01, 16 January 2008 (MST)
::I see callbacks and function composition as only weakly related for this purpose. Lambda notation always involves function composition, and its functions are always anonymous. I think function anonymity is not crucial to callbacks, but that it can be involved with some means of accomplishing it. --[[User:TBH|TBH]] 13:10, 18 January 2008 (MST)
:The task description needs to be changed. A lot of the code found here would be better placed in [[Loop Structures]]--but that task is currently being reconstructed by [[User:Marshmallows|Marshmallows]], so the task rewrite and review should probably wait until Marshmallows is done. At that point, though, this task should probably also be given a clearer name. I was thinking [[Apply a callback to members of a collection]]. But that might be too verbose. Thoughts? --[[User:Short Circuit|Short Circuit]] 23:30, 10 April 2008 (MDT)
As I understand it: A callback is characterized by passing executable code as an argument to other code. Anonymity is characterized by the absence of binding between a function and a name. --[[User:TBH|TBH]] 12:39, 18 January 2008 (MST)