Reputation
1,924
Next privilege 2,000 Rep.
Edit questions and answers
Badges
4 12 28
Newest
 Yearling
Impact
~229k people reached

Nov
17
comment How can I mock this architecture?
It's not some "dependency" I want to ignore in this case, it's "complexity". The actual Materials in this Container have complex physical characteristics (e.g., atomic weight, specific gravity, etc). For my tests, I want to "invent" arbitrarily simple materials (i.e., "fake" elements, so to speak, with manually selected physical values that are chosen to test boundary conditions and so on). And, btw, I'm looking for a solution precisely because it will make my life simpler.
Oct
17
comment How can I mock this architecture?
@RobertHarvey: "Mocking" my title, are you? I guess I should have unit tested that too. :)
Oct
17
comment How can I mock this architecture?
@Euphoric: Great question. I guess I am being inconsistent there, aren't I? I intended it to be just predefined values in the program itself, but I wanted to be able to use diferent values in the Unit Tests. Hmm, I'll have to think abou that...
Oct
17
comment How can I mock this architecture?
@Euphoric: typo; fixed
Oct
17
revised How can I mock this architecture?
added 356 characters in body
Oct
17
asked How can I mock this architecture?
Oct
15
revised How do I convince my team that a requirements specification is unnecessary if we adopt user-stories?
added link; fixed typo
Oct
15
suggested approved edit on How do I convince my team that a requirements specification is unnecessary if we adopt user-stories?
Sep
24
awarded  Autobiographer
Sep
2
comment How do developers deal with “where to start” problem in a context of overwhelming difficulties caused by too much heterogeneous information?
I'm having difficulty knowing "where to start" answering your question due to the difficulty of too much heterogenous information. You need to refactor your post to clarify exactly what your question is.
Jun
17
comment invoking methods within a conditional expression
I appreciate your point of view and agree with your conclusions. I also agree that Hunt's excellent guide (which I use and recommend to others) is due for an updated version. Are you listening Lance?
Jun
17
revised invoking methods within a conditional expression
added link to pdf
Jun
16
accepted invoking methods within a conditional expression
Jun
16
comment invoking methods within a conditional expression
Ahh, I misunderstood Lance's statement altogether. (I thought he was discouraging if (x) doThis() else doThat(), which of course would be a completely untenable restriction.) Perhaps he could have reworded his guideline as "Avoid invoking methods within a boolean expression", but then again, I'm probably the only doofus who misunderstood. Thanks for a complete and thoughtful answer.
Jun
16
answered Adding a minimum rectangle overlap threshold
Jun
16
asked invoking methods within a conditional expression
May
30
awarded  Popular Question
May
15
comment Helping someone who is not and never will be a professional programmer write code that is more legible and usable to use and interpret
I just added one last sentence in the 3rd point. Perhaps the most important of all. Re-read your post and honestly ask yourself if that's the way you are coming across to others.
May
15
revised Helping someone who is not and never will be a professional programmer write code that is more legible and usable to use and interpret
minor edit
May
15
answered Helping someone who is not and never will be a professional programmer write code that is more legible and usable to use and interpret