Click here to Skip to main content
15,891,033 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: 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 
Dependency Injection or DI is a highly complex framework that is perfect for those situations where one needs to rely on the application processes to be able to determine the type of object it requires. Such a requirement is most often found in highly complex applications such as financial trading applications or military war gaming simulations (military, non-commercial) as both require to be able to determine hundreds if not thousands of object types.

That being said, the interest in DI in business development has become over infatuated with the powerful capabilities of DI whereby development teams believing they need such capabilities implement it into their applications as a course of development policies in their shops.

The problem is that Dependency Injection has similar issues as those of complex inheritance schemes, many of which have been found to have failed, are performance hogs, or have become so complex as to make maintenance very difficult. Such issues with complex inheritance were outlined during the later 1990s and the early 2000s.

The result is that today, one rarely hears anything regarding the successes of complex inheritance as much of such success is limited to military and scientific applications as well as highly complex financial applications and other such development endeavors in the business development arena. As a result, such applications are few and far in-between and not the norm for application development.

DI does in fact have issues with efficiency simply due to its own interpretation of how to select the object types it requires. And if one is not careful, using DI can turn an application's performance into a sluggish nightmare.

Admittedly, even with my very long career in software development and engineering which entailed the development of quite a number of complex systems, no one ever suggested the use of Dependency Injection since there simply wasn't a need for it.

Most applications in business development do not require the interpretation of many different kinds of objects and so are quite capable of being developed with semi-loose coupling or tight coupling of objects. Besides, the idea of loose-coupling which has achieved an almost paradoxical paradigm of priority in many application development endeavors has only added to any application's complexity unnecessarily.

Loose-coupling and other such paradigms such as DI have come about as a result of technical managers and leads "imagining" what-if scenarios for their application requirements. Such ruminations by many such technical personnel have been the bane of software development in recent years. This is because, the majority of applications are designed for specific requirements which are needed within a specific time period of immediacy.

Those that have gone over the deep end into predicting what is needed within the future of an application are often wrong and subsequently have had their teams create applications that are grossly over complex for the actual needs of the system.

Though DI is of course a perfect attribute to those applications that actually require it, such applications to be beneficial to the organizations they will serve must be well designed to handle the capabilities that DI will provide. With today's ever increasing speeds of development cycles that push applications and application modifications into production at ever increasing rates, such quality designs simply cannot be created to take advantage of such paradigms as DI efficiently.

This result is a direct consequence of such development concepts as Agile and DevOps, which are both touted as silver-bullets for the ability to implement final products at high rates of speed. This is corroborated by the increasing reports for example of Agile not being able to scale appropriately for much larger systems since you can only push complexity in development so fast...
Steve Naidamast
Sr. Software Engineer
Black Falcon Software, Inc.
blackfalconsoftware@outlook.com

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 
GeneralRe: Thought of the Day Pin
W Balboos, GHB10-Oct-18 5:21
W Balboos, GHB10-Oct-18 5:21 
GeneralRe: Thought of the Day Pin
megaadam10-Oct-18 5:32
professionalmegaadam10-Oct-18 5:32 
GeneralRe: Thought of the Day Pin
PIEBALDconsult10-Oct-18 5:35
mvePIEBALDconsult10-Oct-18 5:35 
GeneralRe: Thought of the Day Pin
DRHuff10-Oct-18 7:49
DRHuff10-Oct-18 7:49 
QuestionCan you actually HEAR the blood running through your veins... Pin
Johnny J.10-Oct-18 3:52
professionalJohnny J.10-Oct-18 3:52 
AnswerRe: Can you actually HEAR the blood running through your veins... Pin
Kschuler10-Oct-18 4:02
Kschuler10-Oct-18 4:02 
GeneralRe: Can you actually HEAR the blood running through your veins... Pin
Johnny J.10-Oct-18 4:03
professionalJohnny J.10-Oct-18 4:03 
AnswerRe: Can you actually HEAR the blood running through your veins... Pin
W Balboos, GHB10-Oct-18 4:12
W Balboos, GHB10-Oct-18 4:12 
GeneralRe: Can you actually HEAR the blood running through your veins... Pin
Johnny J.10-Oct-18 4:14
professionalJohnny J.10-Oct-18 4:14 
AnswerRe: Can you actually HEAR the blood running through your veins... Pin
theoldfool10-Oct-18 4:25
professionaltheoldfool10-Oct-18 4:25 
GeneralRe: Can you actually HEAR the blood running through your veins... Pin
Nelek10-Oct-18 8:58
protectorNelek10-Oct-18 8:58 
QuestionRe: Can you actually HEAR the blood running through your veins... Pin
megaadam10-Oct-18 4:32
professionalmegaadam10-Oct-18 4:32 
AnswerRe: Can you actually HEAR the blood running through your veins... Pin
Johnny J.10-Oct-18 4:55
professionalJohnny J.10-Oct-18 4:55 
JokeRe: Can you actually HEAR the blood running through your veins... Pin
Slacker00710-Oct-18 8:08
professionalSlacker00710-Oct-18 8:08 

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.