Engrain by ByteRush

MC.11.01 Mid-level

Creational and structural patterns

Comes up in: Low-level design

This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.

What it covers

  • factory, builder, singleton (and module singletons' testing problems)
  • adapter, facade, decorator, proxy
  • examples in real libraries

Words you will know

factoryadapterfacadedecorator

What you will practise

  • adapter for two payment SDKs

Interview questions this answers

  • What problems do singletons cause?