LernerPython

Design patterns (Aug 2024)

It’s easy to write a single class in Python. But when you have more than one class, you have to decide how they’re going to communicate. Design patterns provides us with a standardized language we can use to discuss these lines of communication with our colleagues.

What you should know

Course Content

Course length

3.5 hours

Number of lessons

1

Training materials

1 Jupyter notebook

Coding exercises

5

LEARN MORE

Writing a single Python class isn’t that hard, but a real application normally requires multiple classes. One way to define their interactions is with design patterns, established and understood relationships. This course will teach you some of the best-known design patterns, and how/when to use them.

  • What are design patterns?
  • Iterator
  • Strategy
  • Adapter
  • Singleton

This course, like all others on LernerPython.com, is taught by Reuven Lerner.