包裝函式
Sign in to saveSubroutine who’s job is only to call another subroutine
Wikidata facts
- Instance of
- subroutine
- Subclass of
- subroutine
- Has parts of class
- glue code
Sources (1)
via Wikidata · CC0
Article · 中文
在計算機科學中,包裝函式(英語:Wrapper function)是一種電腦程式中的函式,它存在的主要目的就是用來呼叫另一個函式。在物件導向編程中,它又被稱為(method delegation)。它的存在有多種功能:可以被當成适配器模式來使用,可以當成錯誤檢查程序,也可以被當成多重繼承來使用。
Abstract from DBpedia / Wikipedia · CC BY-SA