Refactoring Tips: Trade Conditionals For Type Delegation
Having some kind of type attribute in your models is a pretty common thing, especially in applications with more complex domain. How do you handle such cases? Is it with multiple conditionals / case statements in ever... Read on →