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)