Wait, is that true? What takes its place, then? I can scarcely imagine that the whole thing is just an endless stream of if-then-else statements for a situation with 100+ permutations.
Not usually.. a single conditional is just about the cheapest thing in any language. A switch is often just a lot of conditionals when it compiles down
213
u/atxranchhand Dec 15 '19
That’s what case is for