Click here to Skip to main content
15,893,814 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.

 
GeneralRe: Original Windows 10 October Update File Deletion Explained Pin
Eric Lynch10-Oct-18 9:28
Eric Lynch10-Oct-18 9:28 
GeneralRe: Original Windows 10 October Update File Deletion Explained Pin
TheGreatAndPowerfulOz10-Oct-18 10:06
TheGreatAndPowerfulOz10-Oct-18 10:06 
GeneralRe: Original Windows 10 October Update File Deletion Explained Pin
GenJerDan10-Oct-18 20:29
GenJerDan10-Oct-18 20:29 
GeneralRe: Original Windows 10 October Update File Deletion Explained Pin
Herbie Mountjoy10-Oct-18 21:39
professionalHerbie Mountjoy10-Oct-18 21:39 
GeneralRe: Original Windows 10 October Update File Deletion Explained Pin
Michael Martin10-Oct-18 21:48
professionalMichael Martin10-Oct-18 21:48 
GeneralRe: Original Windows 10 October Update File Deletion Explained Pin
Herbie Mountjoy10-Oct-18 23:26
professionalHerbie Mountjoy10-Oct-18 23:26 
GeneralRe: Original Windows 10 October Update File Deletion Explained Pin
den2k8810-Oct-18 21:56
professionalden2k8810-Oct-18 21:56 
GeneralDependency Injection/IoC Pin
TNCaver10-Oct-18 5:38
TNCaver10-Oct-18 5:38 
I'm learning about DI, and it kind of makes sense, but I'm not convinced it solves the loose coupling issue.

So, here's my stupid question of the week: code that uses an external object still has to know about it's properties and methods in order to use them, so how does passing the object or interface to the constructor or a setter make the code any less dependent than using the concrete object with the 'new' keyword?

I'm sure I'm missing the point somewhere.
If you think 'goto' is evil, try writing an Assembly program without JMP.

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 
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 

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.