State Pattern: Benefits of Using the State Pattern - NI Learning Center