Talk:Callback (computer programming)

This is an old revision of this page, as edited by Ryguasu (talk | contribs) at 19:00, 29 June 2005 (The "language extension and adaptation" closure method). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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.

Example

Example: return

Well, why these functions return int, when counter assumes they return void?

Example: count

Why 9 is before 10, in hex?

  • Fixed: temporay loss of sanity. Dysprosia 12:50, 15 Dec 2003 (UTC)

Need to keep example code very simple

Ldo, I'm afraid that your changes (on 17 Sep 2004) have really gone farther than needed. This page is now overly complicated and reads more of a disertation on sorting algorithms rather than a simple encyclopedic article on the callback function. I think keeping any example to the minimal possible to show the concept of callback is best, and leave the lengthy programming textbook and best practices explanation elsewhere. Also some of your text is too gramatically casual, especially the paragraphs full of questions. - Dmeranda 06:54, 15 Oct 2004 (UTC)

The "language extension and adaptation" closure method

The article currently gives the following as one way to do callbacks:

Some systems have built-in programming languages to support extension and adaptation. These languages provide callbacks without the need for separate software development tools.

Can someone turn this into a more concrete claim? What are people thinking of here? LISP macros, perhaps? --Ryguasu 29 June 2005 19:00 (UTC)