Ask HN: When do you decide to choose encapsulation over Dependency injection? | Hacker News Reader