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