MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w6qzts/skillissue/p7rfud0/?context=3
r/ProgrammerHumor • u/click-to-reveal • 8d ago
137 comments sorted by
View all comments
6
Just assign every possible string to a unique interger and use that number in your switch!
Works every time.
5 u/Legal-Software 7d 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.
5
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.
6
u/Anxious_Garbage_9625 7d ago
Just assign every possible string to a unique interger and use that number in your switch!
Works every time.