1,085 reputation
814
bio website
location
age
visits member for 3 years, 5 months
seen Jul 10 at 17:49

Jul
9
awarded  Popular Question
Jul
2
awarded  Curious
Jun
25
answered Is template “metaprogramming” in Java a good idea?
Jun
18
comment Why was C# made with “new” and “virtual+override” keywords unlike Java?
I fully agree with you.
Jun
18
comment Why was C# made with “new” and “virtual+override” keywords unlike Java?
The performance point is completely obsolete by now. For a proof see my benchmark showing that accessing a field via a non-final but never overloaded method takes a single cycle.
Jun
17
awarded  Good Answer
Jun
17
comment What complexity do DI frameworks add?
The nice thing about Guice is that it can be fully configured in Java (there's no XML unless you get an add-on). For small projects (which is what I'masking about), "auto-wiring" actually suffices. I've updated my question; maybe all the fears come from bad (or too enterpricey DI frameworks)?
Jun
17
revised What complexity do DI frameworks add?
added 742 characters in body
Jun
17
awarded  Enlightened
Jun
17
comment What prevents a race condition on a lock?
@gdhoward I can't believe it... this answer took me less than 5 minutes and it's the third highest voted out of my four hundreds answers (mainly SO). And also probably the shortest one.
Jun
17
awarded  Mortarboard
Jun
17
comment Which child process will inherit threads of parent process?
Nice explanation. I'd just add that the Java's fused fork and exec is usable as neither fork nor exec. As you wrote, you can't access Java threads from it and you also can't replace the running process by another one (which would be nice e.g. for software updates).
Jun
17
awarded  Nice Answer
Jun
17
answered What prevents a race condition on a lock?
Jun
15
comment What complexity do DI frameworks add?
@MathewFoscarini I guess so - I know other terms and this should be (a special case of) the method injection.
Jun
15
comment Do dependency injection frameworks pose a dependency risk?
@MathewFoscarini As I'm completely lost concerning the added complexity, I asked a corresponding question. The point of outgrowing the framework sounds interesting too, could maybe you elaborate?
Jun
15
asked What complexity do DI frameworks add?
Jun
15
comment Do dependency injection frameworks pose a dependency risk?
@MathewFoscarini Isn't this an anti-pattern? You can do it, but you shouldn't as it obfuscates the dependency.
Jun
15
revised Do dependency injection frameworks pose a dependency risk?
added 160 characters in body
Jun
15
comment Do dependency injection frameworks pose a dependency risk?
What the? These are my stats per class: 0.5 annotation, 0.1 configuration line. So what complexity do you mean???