Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explain *why* the dependency inversion principle is a good idea tho #60

Closed
hjwp opened this issue Jul 9, 2019 · 1 comment
Closed

Comments

@hjwp
Copy link
Contributor

hjwp commented Jul 9, 2019

we sort of touch on this but don't really spell it out enough

  • in chapter 2 where we use DIP to justify repository pattern
  • and in the chapter 3 sidebar "depend on abstractions"

why the DIP? high-level modules should not depend on low-level details because:

  • low level details are hard to change, and we want to change high level stuff fast
  • ... anything else?
@hjwp
Copy link
Contributor Author

hjwp commented Jul 9, 2019

links to the outstanding todo from #49

@hjwp hjwp closed this as completed in 9ac8387 Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant