Worst Switch Case Ever

September 30, 2021

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