The Startup
Published in

The Startup

Design Patterns: Adapter

Understanding the pattern using Dragon Ball Z

There are 23 classic design patterns, which are described in the original book, Design Patterns: Elements of Reusable Object-Oriented Software. These patterns provide solutions to particular problems, often repeated in the software development.

In this article, I am going to describe the how the Adapter Pattern; and how and when it should be applied.

Adapter Pattern: Basic Idea

An adapter allows two incompatible




Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +756K followers.

Recommended from Medium

Create an Editable, Resizable Text Label in Konva with React

How to create custom Create React App (CRA) templates

Javascript higher order functions(map,forEach,filter);

Make your own COVID19 data API using cheeriojs and express.js

Passing Data In React

Webpacker — Let’s replace Sprockets!

Using CSS Variables in SCSS Functions

Bang methods in ruby

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
Carlos Caballero

Carlos Caballero

Hi! My name is Carlos Caballero and I’m PhD. in Computer Science from Málaga, Spain. Teaching developers and degree/master computer science how to be experts!

More from Medium

The (Reverse) Redemption Arc of JavaScript

Stop using ANY in typescript

How to Use the Union Operator to Create Mixed Type Arrays in TypeScript

Code review guidelines