Write testable code by writing generic code | Hacker News Reader