Run different actions for different types
Switch statements are a great way to run different actions for different values. It’s easy to use and it’s pretty simple to scale if new values are added. But what would you do if you want to e.g run custom actions for types and subtypes easily?🤔… Continue Reading