--

Bravo! A pity your title doesn’t reflect the content and vice versa. Indeed, if you only have enums or discrete values an if or switch is not SOLID, but to call it poor mans polymorphism based in just that one case, I think not.

--

--

Angelo Hulshout 🇳🇱🇮🇹

CEO at Schinchoku and software architect at Delphino Consultancy B.V. — writing about software, and about the Shinchoku startup.