▲ 4 ▼ and people wonder why we say PHP is a meme (lemmy.world) submitted 3 years ago* (last edited 3 years ago) by AlmightySnoo@lemmy.world to c/programmerhumor@lemmy.ml 17 comments fedilink hide all child comments
[–] Serdan@lemm.ee -1 points 3 years ago (1 child) Why? It's perfectly readable. permalink fedilink source parent hideshow 2 child comments replies: [–] lowleveldata@programming.dev 1 point 3 years ago (1 child) It is sort of readable. A switch is "perfectly" readable for switching. permalink fedilink source parent hideshow 2 child comments replies: [–] Serdan@lemm.ee -1 points 3 years ago (1 child) Ternary expressions aren't switches though permalink fedilink source parent hideshow 2 child comments replies: [–] Kryomaani@sopuli.xyz 1 point 3 years ago Which is exactly why you shouldn't be using them in a situation that clearly calls for a switch. permalink fedilink source parent
[–] lowleveldata@programming.dev 1 point 3 years ago (1 child) It is sort of readable. A switch is "perfectly" readable for switching. permalink fedilink source parent hideshow 2 child comments replies: [–] Serdan@lemm.ee -1 points 3 years ago (1 child) Ternary expressions aren't switches though permalink fedilink source parent hideshow 2 child comments replies: [–] Kryomaani@sopuli.xyz 1 point 3 years ago Which is exactly why you shouldn't be using them in a situation that clearly calls for a switch. permalink fedilink source parent
[–] Serdan@lemm.ee -1 points 3 years ago (1 child) Ternary expressions aren't switches though permalink fedilink source parent hideshow 2 child comments replies: [–] Kryomaani@sopuli.xyz 1 point 3 years ago Which is exactly why you shouldn't be using them in a situation that clearly calls for a switch. permalink fedilink source parent
[–] Kryomaani@sopuli.xyz 1 point 3 years ago Which is exactly why you shouldn't be using them in a situation that clearly calls for a switch. permalink fedilink source parent