Callback functions-python and callback-python

Source: Internet
Author: User

Callback functions-python and callback-python

Link: http://www.zhihu.com/question/19801131/answer/27459821
Source: zhihu
Copyright belongs to the author. For commercial reprint, please contact the author for authorization. For non-commercial reprint, please indicate the source.

 

There are two types of programming: system programming and application programming ). The so-called system programming, in short, is to writeLibraryApplication Programming uses various libraries to write programs with a certain function, that isApplication. System programmers leave some interfaces for their own libraries, that is, application programming interfaces (APIS), to be used by programmers. Therefore, in the illustration of the abstraction layer, the Library is located under the application.

When the program starts running, generally, the application (application program) will call the pre-prepared functions in the library through the API. However, some library functions require the application to pass them to a function first, so that they can be called at an appropriate time to complete the target task. This passed-in and called function is calledCallback Function(Callback function ).



Link: https://www.zhihu.com/question/19801131/answer/27459821
Source: zhihu
Copyright belongs to the author. For commercial reprint, please contact the author for authorization. For non-commercial reprint, please indicate the source.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.