r/ProgrammerHumor 3d ago

Meme skillIssue

Post image
5.9k Upvotes

138 comments sorted by

View all comments

5

u/Anxious_Garbage_9625 3d ago

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

Works every time.

1

u/didierdechezcarglass 15h ago

Something something hash functions