Skip to main content

Practice

Patterns Practice: Strategy, Decorator, Builder

⭐⭐ intermediate~34 min of coding4 challenges

Kill a switch with Strategy, stack behavior with Decorator, and make invalid orders unrepresentable with a Builder — plus a caching bug to hunt.

Checking your progress…0%

What you will practice

  1. Strategy: Kill the Shipping Switch⭐⭐ intermediate
  2. Decorator: Stack Behaviors on a Client⭐⭐ intermediate
  3. Builder: Valid Orders Only⭐⭐ intermediate
  4. Debug: The Bus That Never Lets Go⭐⭐ intermediate

Need the concept first? Re-read the lesson.