Where and how is the term used WRAPPER in programming, what does it help to do?

前端 未结 7 1024
醉话见心
醉话见心 2021-01-29 18:07

I come across software developers using the term of creating Wrappers of other classes or APIs or even some codes, this is a term used by experienced Software Programmers

<
7条回答
  •  悲&欢浪女
    2021-01-29 18:35

    It's just that you write some easy to use code to hide the complexities of the code underneath. It's especially useful when you need to call some low level API from a higher level language and you want to keep all the "ugly" code hidden away.

    Edit: You can find more about it in these two wiki articles: library and function

提交回复
热议问题