Click here to Skip to main content
15,894,343 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralDependency Injection/IoC Pin
TNCaver10-Oct-18 5:38
TNCaver10-Oct-18 5:38 
GeneralRe: Dependency Injection/IoC Pin
TheGreatAndPowerfulOz10-Oct-18 5:53
TheGreatAndPowerfulOz10-Oct-18 5:53 
GeneralRe: Dependency Injection/IoC Pin
Slacker00710-Oct-18 8:06
professionalSlacker00710-Oct-18 8:06 
GeneralRe: Dependency Injection/IoC Pin
TNCaver11-Oct-18 4:02
TNCaver11-Oct-18 4:02 
GeneralRe: Dependency Injection/IoC Pin
kdmote11-Oct-18 9:21
kdmote11-Oct-18 9:21 
GeneralRe: Dependency Injection/IoC Pin
RickZeeland10-Oct-18 6:29
mveRickZeeland10-Oct-18 6:29 
GeneralRe: Dependency Injection/IoC Pin
Slacker00710-Oct-18 8:05
professionalSlacker00710-Oct-18 8:05 
GeneralRe: Dependency Injection/IoC Pin
Marco Bertschi10-Oct-18 8:37
protectorMarco Bertschi10-Oct-18 8:37 
In my experience, DI as a concept is valuable especially for testing - For example, if you inject your external dependencies you may write unit tests for a given purpose without having to care to setup anything beside the stiff within your test scope. This is especially valueable if you are, for example, accessing a config heavy API, or internal service. With proper DI in place you can mock the test scope to stay within boundaries within seconds.
(of course this does not replace proper integration testing, but it gives you a fair chance to validate changes on your side of the code).
I only have a signature in order to let @DalekDave follow my posts.

GeneralRe: Dependency Injection/IoC Pin
Slacker00710-Oct-18 8:57
professionalSlacker00710-Oct-18 8:57 
GeneralRe: Dependency Injection/IoC Pin
TNCaver11-Oct-18 4:04
TNCaver11-Oct-18 4:04 
GeneralRe: Dependency Injection/IoC PinPopular
Sander Rossel10-Oct-18 8:37
professionalSander Rossel10-Oct-18 8:37 
GeneralRe: Dependency Injection/IoC Pin
Marc Clifton10-Oct-18 9:10
mvaMarc Clifton10-Oct-18 9:10 
GeneralRe: Dependency Injection/IoC Pin
Slacker00710-Oct-18 9:42
professionalSlacker00710-Oct-18 9:42 
GeneralRe: Dependency Injection/IoC Pin
Marc Clifton11-Oct-18 4:01
mvaMarc Clifton11-Oct-18 4:01 
GeneralRe: Dependency Injection/IoC Pin
TNCaver11-Oct-18 4:07
TNCaver11-Oct-18 4:07 
GeneralRe: Dependency Injection/IoC Pin
TNCaver11-Oct-18 4:09
TNCaver11-Oct-18 4:09 
GeneralRe: Dependency Injection/IoC Pin
Slacker00711-Oct-18 5:44
professionalSlacker00711-Oct-18 5:44 
GeneralRe: Dependency Injection/IoC Pin
Jon McKee10-Oct-18 10:26
professionalJon McKee10-Oct-18 10:26 
GeneralRe: Dependency Injection/IoC Pin
Matthew Dennis10-Oct-18 12:30
sysadminMatthew Dennis10-Oct-18 12:30 
GeneralRe: Dependency Injection/IoC Pin
GuyThiebaut10-Oct-18 20:35
professionalGuyThiebaut10-Oct-18 20:35 
GeneralRe: Dependency Injection/IoC Pin
englebart11-Oct-18 4:33
professionalenglebart11-Oct-18 4:33 
GeneralRe: Dependency Injection/IoC Pin
Steve Naidamast11-Oct-18 5:46
professionalSteve Naidamast11-Oct-18 5:46 
GeneralRe: Dependency Injection/IoC Pin
RandyBuchholz12-Oct-18 12:34
RandyBuchholz12-Oct-18 12:34 
GeneralThought of the Day Pin
OriginalGriff10-Oct-18 5:00
mveOriginalGriff10-Oct-18 5:00 
GeneralRe: Thought of the Day Pin
Johnny J.10-Oct-18 5:05
professionalJohnny J.10-Oct-18 5:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.