842 reputation
28
bio website
location Hanover, Germany
age 38
visits member for 1 year, 11 months
seen yesterday

May
11
answered How do you find out what resources are unmanaged?
Apr
17
awarded  Editor
Apr
17
revised Should i avoid FaultException for Custom Validation Error messages to client
added 343 characters in body
Apr
17
answered Should i avoid FaultException for Custom Validation Error messages to client
Apr
17
awarded  Good Answer
Apr
15
awarded  Nice Answer
Apr
15
answered TDD Red-Green-Refactor and if/how to test methods that become private
Mar
29
answered Agile Use Of Dedicated Teams
Mar
7
comment Interview Question - Adding Method to interface that has been implemented by thousands of class
You certainly don't need a single common base class, but not being able to boil that behaviour down to less than the thousand classes because every single class of the thousands has an interface implementation of it's own... that should be so rare that the statistics should say "code smell" rather than "one of those super rare cases where that's ok".
Mar
7
answered Interview Question - Adding Method to interface that has been implemented by thousands of class
Jul
22
answered Return tasks or expose events?
Jun
22
comment Transitioning from Java & C to C++
It should be. If it's not, something was wrong with the design.
Jun
22
answered Transitioning from Java & C to C++
Jun
2
awarded  Commentator
May
27
comment Use unnamed object to invoke method or not?
@JanHudec You are right about the free function and namespace. I've been coding C# for too long :)
May
27
comment Use unnamed object to invoke method or not?
@ChenOT From the looks, your class does not need data members. Maybe it does something under the hood we don't know, but at face value, you could pass your constructor parameters to get_content() instead and get rid of the class. That way you don't need an object at all.
May
27
awarded  Yearling
May
26
comment Use unnamed object to invoke method or not?
Personally, I think if those two (constructor and parameterless function) are the only public interfaces, the whole class can be made into a single static class where every other function is a static helper and every piece of formerly class data is local variables that must be passed between the functions. That way, the interaction of the functions is way better documented. Side effects of methods (for example modifying class data) is hard to track so if this class can be made easier, I'd go for easier.
May
26
answered Use unnamed object to invoke method or not?
May
18
answered Terms in conditions in installer or is on website ok