State machines to the rescue
Today I came across code that implemented a complex login process. The login flow was quite complex but what made the code really difficult to understand was how it was implemented. Notifications, delegates, and long case switch statements were used to implement the login flow.… Continue Reading
