Course contentsShow
Software Engineering
Lesson 311 of 1,9339. Behavioral Design PatternsPro lesson

State Pattern vs Conditional Logic

Recognizing when State pattern improves code over switch statements and when simpler approaches suffice.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.