May 15, 2024
I agree though I would include state machines in the concept of if-else statements. I also don't know if this was pro-switch or anti-switch, but I'm anti-switch in fall-through languages like JS, since I feel obligated to comment `// intentional no break` every time I actually use the fall-through.