Good and bad practices for writing testable code | Hacker News Reader