Everything About ___
Live briefing

Everything about Callback (computer programming)

Function reference passed to and called by another function

In computer programming, a callback is a programming pattern in which a function reference is passed from one context (consumer) to another (provider) such that the provider can call the function. If the function accesses state or functionality of the consumer, then the call is back to the consumer – backwards compared to the normal flow of control in which a consumer calls a provider. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: Callback (computer programming)A 5-minute orientation
  2. Pick up a classic book: Eloquent JavascriptThe most-reprinted book on the subject
  3. Go sideways: Higher-order functionA closely related topic
  4. Go sideways: Template (C++)A closely related topic

đź“– Definitions

No dictionary entry for this exact phrase.

🗂️ The subject at a glance

  1. Use
  2. Implementation
  3. Example code

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

đź”— Related topics