r/shittyprogramming • • Nov 30 '18

Friday Code Confessions

If you have been living with technical debt and want absolution here is your opportunity.

Confess your sins and receive your penance.

155 Upvotes

263 comments sorted by

View all comments

Show parent comment

1

u/jantari Dec 01 '18

While I agree with you, I'd just use a switch statement in those cases anyway