Tag: hooks

  • My Paradox With The Switch Statement

    Ever since high school, I have always been suspicious when it comes to the switch statement in programming. It is quite intuitive if you think about it, but in my opinion it has various limitations in some scenarios: it’s error-prone by missing a break; clause here and there chaining cases isn’t always intuitive to read,…