How to write easy to test code | Hacker News Reader