Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    Dependency-injection via constructor parameters is definitely the way to go. The overhead of using a DI framework on a small projects pays off when you move on to larger projects already knowing how to use it. Commented Jun 6, 2017 at 9:17
  • My answer regarding a similar topic might be a help to you. Commented Jun 6, 2017 at 11:03