Switch statements versus polymorphism | Hacker News Reader