More than 5 years have passed since last update.
Good Example.
5 switch statement patterns
Register as a new user and use Qiita more conveniently