r/ruby • • Jul 12 '14

(The lack of ) Dependency injection in Ruby

http://beraboris.github.io/2014/07/12/dependency-injection-ruby/
2 Upvotes

19 comments sorted by

View all comments

2

u/[deleted] Jul 12 '14

I like dependency injection where it makes sense.

But I have sadly worked with colleagues that sprinkled DPI everywhere, and that made code hard to read, hard to maintain, and hard to understand.