Become a member
Sign in
Adam Žďára
Adam Žďára

Adam Žďára

72 Following
85 Followers
·
  • Profile
  • Highlights

Highlighted by Adam Žďára

See more

From Dependency Injection in Swift by Alexey Kuznetsov

…d be the fact that it makes the violation of the single responsibility principle extremely obvious. If an object takes all its dependencies in the initializer and the initializer has more than three parameters, this is a hint that the object might be doing more than one thing and the refactoring is needed.