this post was submitted on 14 Jul 2023
330 points (90.8% liked)
Programmer Humor
32461 readers
651 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yes, you need to read code to understand it. If else statements can also do the job of a switch, so the exact same argument applies.
The point is I don't need to read a switch statement to know that it is a switch