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

 
AnswerRe: All high-level classes must depend only on Interfaces Pin
englebart19-Feb-24 6:33
professionalenglebart19-Feb-24 6:33 
GeneralRe: All high-level classes must depend only on Interfaces Pin
raddevus19-Feb-24 7:59
mvaraddevus19-Feb-24 7:59 
GeneralRe: All high-level classes must depend only on Interfaces Pin
englebart19-Feb-24 8:09
professionalenglebart19-Feb-24 8:09 
GeneralRe: All high-level classes must depend only on Interfaces Pin
jschell20-Feb-24 12:14
jschell20-Feb-24 12:14 
GeneralRe: All high-level classes must depend only on Interfaces Pin
englebart20-Feb-24 15:01
professionalenglebart20-Feb-24 15:01 
GeneralRe: All high-level classes must depend only on Interfaces Pin
hpcoder224-Feb-24 22:45
hpcoder224-Feb-24 22:45 
GeneralRe: All high-level classes must depend only on Interfaces Pin
raddevus25-Feb-24 10:58
mvaraddevus25-Feb-24 10:58 
AnswerRe: All high-level classes must depend only on Interfaces Pin
Ralf Peine 202322-Feb-24 5:08
Ralf Peine 202322-Feb-24 5:08 
I program since more than 40 years and develop software since more than 30 years.
15 years ago I heard first time about DI containers, and since 10 years I use IODA as principle to avoid DI containers.

Only integration classes are allowed to call other operations.

If you put the whole logic into operation-classes, with no logic in data-classes and integration-classes (only something like "rail-switches" in integrations),
then separate input- and output- from logical operations,

than you do not need to discuss those things like DI any longer.

I use derivation very rarely, combination of classes is my favorite.

But I use also actions and closures.

You don't have to hide every operation class behind an interface, but it can be helpful.
Consider: By using of interfaces you can not longer jump to the executed code by just pressing "F12" in Developer Studio.

There is no universal answer to this question, it just depends on ...

What is IODA? See here:
https://www.infoq.com/news/2015/05/ioda-architecture/[^]
GeneralRe: All high-level classes must depend only on Interfaces Pin
raddevus22-Feb-24 5:24
mvaraddevus22-Feb-24 5:24 
AnswerRe: All high-level classes must depend only on Interfaces Pin
Dan Sutton12-Mar-24 20:34
Dan Sutton12-Mar-24 20:34 
GeneralBut what about the government? Pin
jschell16-Feb-24 7:50
jschell16-Feb-24 7:50 
GeneralRe: But what about the government? Pin
Marc Clifton16-Feb-24 8:24
mvaMarc Clifton16-Feb-24 8:24 
GeneralRe: But what about the government? Pin
Gary R. Wheeler16-Feb-24 13:55
Gary R. Wheeler16-Feb-24 13:55 
GeneralRe: But what about the government? Pin
Andre Oosthuizen16-Feb-24 8:45
mveAndre Oosthuizen16-Feb-24 8:45 
GeneralI'm almost afraid to try it Pin
honey the codewitch16-Feb-24 7:09
mvahoney the codewitch16-Feb-24 7:09 
GeneralRe: I'm almost afraid to try it Pin
Marc Clifton16-Feb-24 7:33
mvaMarc Clifton16-Feb-24 7:33 
Generalinstaller does not work for VB application, what can I do? Pin
Southmountain16-Feb-24 6:09
Southmountain16-Feb-24 6:09 
GeneralRe: installer does not work for VB application, what can I do? Pin
k505416-Feb-24 6:18
mvek505416-Feb-24 6:18 
GeneralRe: installer does not work for VB application, what can I do? Pin
Southmountain16-Feb-24 6:22
Southmountain16-Feb-24 6:22 
GeneralRe: installer does not work for VB application, what can I do? Pin
Ron Nicholson16-Feb-24 6:30
professionalRon Nicholson16-Feb-24 6:30 
GeneralRe: installer does not work for VB application, what can I do? Pin
Southmountain16-Feb-24 6:34
Southmountain16-Feb-24 6:34 
GeneralRe: installer does not work for VB application, what can I do? Pin
Gerry Schmitz16-Feb-24 6:45
mveGerry Schmitz16-Feb-24 6:45 
GeneralRe: installer does not work for VB application, what can I do? Pin
jschell16-Feb-24 7:25
jschell16-Feb-24 7:25 
GeneralRe: installer does not work for VB application, what can I do? Pin
obermd16-Feb-24 8:47
obermd16-Feb-24 8:47 
GeneralRe: installer does not work for VB application, what can I do? Pin
Andre Oosthuizen16-Feb-24 8:51
mveAndre Oosthuizen16-Feb-24 8:51 

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.