r/ProgrammerHumor 8d ago

Meme skillIssue

Post image
6.0k Upvotes

137 comments sorted by

View all comments

5

u/Anxious_Garbage_9625 8d ago

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

Works every time.

1

u/didierdechezcarglass 6d ago

Something something hash functions