08_Adapter - Simplifying interface compatibility in C++ #4
MarioGalindoQ
started this conversation in
II. Structural Patterns
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
The Adapter Pattern is my go-to solution when I need to make two incompatible interfaces work together. In this repository, I've shown how to wrap a legacy-style class to fit a modern interface.
Discussion points
I'm looking forward to your opinions on which approach is cleaner! 🧱
Beta Was this translation helpful? Give feedback.
All reactions