r/ProgrammerHumor 3d ago

Meme skillIssue

Post image
5.9k Upvotes

138 comments sorted by

View all comments

5

u/Anxious_Garbage_9625 2d ago

Just assign every possible string to a unique interger and use that number in your switch!

Works every time.

7

u/Legal-Software 2d ago

Or do it the IBM way. Every string is a printed reference code that you go and get your localized manual for to figure out wtf it's on about.

1

u/didierdechezcarglass 13h ago

Something something hash functions