Quantcast
Channel: User Filip Milovanović - Software Engineering Stack Exchange
Viewing all articles
Browse latest Browse all 167

Comment by Filip Milovanović on Broadly accepted term for a "thick wrapper"?

$
0
0
"A wrapper is often explained as modification of an interface to another function with very little added functionality" - in OO terms, this is what's called an Adapter; there are other kinds of wrappers, though. I don't think there's a particular term that would encompass "non-Adapters". Adapters could also restrict available functionality (maybe you don't need all that a generic component provides). Another common type of wrapper is a Decorator - these preserve the interface so that you can transparently add functionality (that is, without affecting client code), and stack them together.

Viewing all articles
Browse latest Browse all 167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>