Content deleted Content added
Hippietrail (talk | contribs) |
Mattsenate (talk | contribs) adds note about recent added example, re-ordering of sections, and open question of further improvements |
||
Line 1:
This topic needs more general discussion of callbacks and their use, with simpler examples that explain the concept of a callback. I am rewriting most of this article to include much more information. -- ''Who said this and when? [[User:Mattsenate|Mattsenate]] ([[User talk:Mattsenate|talk]]) 01:07, 13 December 2012 (UTC)''
== Suggestion ==
Line 144:
This article goes into deferred callbacks, but it should go further and mention the article on that very concept, '''[[futures and promises]]'''. — [[User:Hippietrail|Hippietrail]] ([[User talk:Hippietrail|talk]]) 16:32, 8 August 2012 (UTC)
== Added JavaScript Example, Re-ordered==
Hey all, not an expert, but learning a lot and wanted to improve this article as I did so. I provided a basic JavaScript example that dovetails into the more complicated (but awesome!) C examples below it. I also re-ordered so that the explanation of differences between synchronous and asynchronous callbacks is made explicit early on. Next comes the implementation list, and finally some concrete examples under "Use". Happy to see improvements on this, leave a note if there are other low-barrier-to-entry examples we should tack on? -- [[User:Mattsenate|Mattsenate]] ([[User talk:Mattsenate|talk]]) 01:07, 13 December 2012 (UTC)
|