Worst Switch Case Ever

A senior dev co-worker sent me this today. It takes a lot to rattle him so I was pretty excited to read the code. I was not let down.

There’s a trend of bad code from this particular competitor. If we can even call them that.

Poorly written switch statement