April 2018
Intermediate to advanced
396 pages
11h 8m
English
This design pattern is similar to the strategy design pattern, and it uses a state object to encapsulate different behavior for the same object. It improves the code's readability and maintainability by avoiding the use of large conditional statements.
Read now
Unlock full access