Featured Image

Refactoring Nightmares

Get Well Soon. You are working on a fast-growing, never-stopping product; 35 sprints and 600 coffees later, you finally got to move on, and a new engineer steps in, or you realize sooner or late...

Featured Image

Avoid switch case for ENUMs – Visitor pattern

Don’t force-fit the switch-case (Spirited Away) Even before going ahead with an example, what is Visitor Pattern? Here is the Wikipedia definition. Let’s take a typical example for a Switch case...