How to Refactor Long If or Switch blocks with Double Dispatch In Javascript

I’m starting this blog so I thought about picking a small and easy topic to write about in the first blog post! Something to break the ice 🙂 Let’s see… Have you ever had code with huge logic embedded in if’s and switches? code like this? This is a simplified example so you might consider …

How to Refactor Long If or Switch blocks with Double Dispatch In Javascript Read More »