programming languages - What does this explanation of callback mean? -




i saw sentence programming language pragmatics, scott

the programmer wants handler—a special subroutine—to invoked when given event occurs. handlers known callback functions, because run-time system calls main program instead of being called it.

i don't quite understand explanation of reason of event handlers named "callback".

what 2 cases mean:

  • "the run-time system calls main program"
  • "being called it", i.e. run-time system called main program?

thanks.





wiki

Comments

Popular posts from this blog

firebase - How to wait value in Ionic 2 -

Jenkins: find build number for git commit -

typescript - Typings for sub-folders inside a root index.d.ts -