334
submitted 1 year ago* (last edited 1 year ago) by AlmightySnoo@lemmy.world to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Serdan@lemm.ee 1 points 1 year ago

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.

[-] lowleveldata@programming.dev 2 points 1 year ago

The point is I don't need to read a switch statement to know that it is a switch

this post was submitted on 14 Jul 2023
334 points (90.7% liked)

Programmer Humor

32060 readers
1358 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS