Refactoring if statements for readability | Hacker News Reader