Using Polymorphism instead of conditionals when programming | Hacker News Reader