9

My worst legacy code experience:

>10k lines of switch case statement with "some" fall through.
Even fall through for 4 or 5 cases.

This monster was copy pasted and modified over years (Order of the case statements and another fall throughs).

So you can't diff this piece of shit for refactorings.

Luckily I leave that company.

Comments
Add Comment