In programming literature and on internet in general I noticed frequent use of term "wrapping".
For example "to wrap library in classes" or to "wrap database". Is that official in programming or just a slang ? And what is the best way to describe it ?
Thanks
A Wrapper is some code that is created to internally call some API without changing the actual API. An Example of this is Facebook's release of their Facebook C# SDK. The SDK is actually a wrapper since it only lets you call its underlying platform without giving you specific methods and classes.
to cover or surround something with paper, cloth, or other material: She wrapped the present and tied it with ribbon.
Simply put, data wrapping involves taking information that you already have, such as customer data, and using it to deliver more value by “wrapping” it around your current products and services.
A Wrapper class is a class whose object wraps or contains primitive data types. When we create an object to a wrapper class, it contains a field and in this field, we can store primitive data types. In other words, we can wrap a primitive value into a wrapper class object.
"Wrap" is a standard English word meaning "Cover or enclose". Typically programmers use it to mean enclosing the functionality of something with something else. It's a fairly widely accepted term. There is no "official programming terms" guideline, so that's about as close as it gets.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With