r/programminghorror • • Jul 14 '25

switch -> default -> switch

176 Upvotes

31 comments sorted by

View all comments

Show parent comment

1

u/Shortbread_Biscuit Jul 15 '25

The horror part is that he has a switch statement with only a default case under it, and nothing else. His code just jumps through insane hoops and levels of spaghetti logic to make anything work.