Geek Culture
Published in

Geek Culture

Adapter pattern in Python

Design patterns: Adapter

Hello folks, with this article we continue our journey of exploring design patterns and and in these series we will take a closer look at structural patterns and see an example of their Python implementation.

Structural patterns are the one concerned with how classes and objects are composed to form bigger structures. One such example is the adapter pattern that we will take a closer look today. The adapter pattern or we can simply call it an adapter, makes one interface conform to another that the client expects. By using an adapter…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jordan P. Raychev

Jordan P. Raychev

225 Followers

Network, system and software engineer with true passion about technology. Love to read and spend time in nature.