ParentFull threadDr-NULL·Not gonna lie, but the first example of using switch instead of polymorphism still looks clean and easy to understand for me.View on HN