-1

The reason for the name 'callback' eludes me. What does that term mean?

jscs
  • 63,694
  • 13
  • 151
  • 195
  • 2
    Because it's what functions... call back. – zneak May 01 '12 at 00:47
  • possible duplicate of [Callback functions in C/C++/C#](http://stackoverflow.com/questions/6183847/callback-functions-in-c-c-c) – jscs May 01 '12 at 01:34
  • Also: [What is a callback function](http://stackoverflow.com/questions/824234/what-is-a-callback-function) – jscs May 01 '12 at 01:36

2 Answers2

4

Because it provides a mechanism for a library to call back into your code.

Oliver Charlesworth
  • 267,707
  • 33
  • 569
  • 680
2

Callbacks are called that because when you give something a callback, you enable it to "call back" into your code at a later time.

Gareth McCaughan
  • 19,888
  • 1
  • 41
  • 62