Note:

This site is no longer used and is in read-only mode. Instead please go to our new Moodle Developer Resource site.

Talk:Callbacks

From MoodleDocs
Revision as of 01:03, 22 May 2017 by John Okely (talk | contribs) (Simplify)

Calling these callbacks officially is confusing for any new developer coming into moodle. A callback is a function reference passed as a parameter in a function call. Or from wikipedia "a callback is any executable code that is passed as an argument to other code, which is expected to call back (execute) the argument at a given time." This is not what these are. Sure, we can make the argument that these are "moodle" callbacks. But these really are just API methods. As an open source project we have responsibility to the correct terms to refer to parts of our infrastructure to lower the barrier for entry and understanding of our code. --John Okely (talk) 09:00, 22 May 2017 (AWST)