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](https://www.dandi.dev/wp-content/uploads/2021/09/image.png)