375 reputation
19
bio website
location
age
visits member for 1 year, 2 months
seen Mar 20 at 17:32
stats profile views 10

Mar
15
awarded  Yearling
Mar
12
awarded  Nice Question
Jan
22
answered Does “Inversion of Control” promote “Anemic Domain Model”?
Jan
22
comment How to program object-oriented with a DI framework?
"Rich Domain" appears to me as a name for normal classes invented by people who are obsessed with EJB or Spring and don't want to admit that they drifted into the procedural world and are not programming OO anymore.
Jan
22
accepted Dilemma of QA vs. iterations
Jan
19
comment How to program object-oriented with a DI framework?
To avoid turning this into a chat: an explanation or example of how one of the mentioned patterns can be implemented with injected objects would help.
Jan
19
comment Is there something like a polymorphic Singleton?
When it's a Singleton and contains the path to the ZIP archive then you can handle only one ZIP archive in the entire app. I guess that's not what you want.
Jan
19
comment How to program object-oriented with a DI framework?
Okay, I can just call a setter on the Context (in the example above) when I'm sure that I'm the only one using this instance of Context. But it could also be injected as a singleton, right? Then I can't be sure if another user of this instance is overwriting my choice.
Jan
19
comment How to program object-oriented with a DI framework?
Also see here: stackoverflow.com/questions/4176520/…
Jan
19
comment How to program object-oriented with a DI framework?
I've added an explanation to the question. Was too long for the comments here.
Jan
19
revised How to program object-oriented with a DI framework?
added 544 characters in body
Jan
19
comment How to program object-oriented with a DI framework?
You're describing how a DI framework works, not how the problems I describe can be solved. I don't challenge that a DI framework internally uses OOP. I challenge that a program that uses a DI framework can be OO. But you make a good point that Java is not a suitable language for DI-based systems. Which supports my point that it's not intended for DI, but for OO.
Jan
19
comment How to program object-oriented with a DI framework?
Re. 1: What you describe is not the strategy pattern. Re. 2: My observation is that DI projects don't use such factories but use code-only and data-only classes. It's not seen as a bad thing by people who advocate DI. Re 3: I was interested in how this "done right" actually looks like :). Re 4: If such factories are able to inject managed objects to the new object they create, they cause the problem I described. If they don't inject managed objects, they are off-topic.
Jan
19
asked How to program object-oriented with a DI framework?
Jan
18
comment Dilemma of QA vs. iterations
So what you're basically saying is that QA's work and entailed bug fixing is handled separately from the iterations. That effectively underpins my argument that QA cannot be incorporated in the iterations. It's an answer I can well live with. :)
Jan
17
awarded  Nice Question
Jan
15
asked Dilemma of QA vs. iterations
Dec
1
awarded  Nice Question
Jul
3
accepted Why is there no service-oriented language?
Jun
29
comment Why is there no service-oriented language?
That's an interesting point. But you could apply it to OO as well: most of the time it's imperative programming and only 5% is OO. OO is also a way of gluing imperative code snippets together while it's the imperative code that makes things work. Still, we benefit largely from having specialized languages for it. My point was that SO programs are written in OO languages because they seem to be similar but that leads to the problems given in the question.