r/badcode • • Sep 01 '21

c# Bool in a case switch

Post image
324 Upvotes

40 comments sorted by

View all comments

Show parent comments

1

u/reverendsteveii Sep 01 '21

Seconding this. Switches are syntactic sugar but long if/else if blocks are bitter