2,291 reputation
1025
bio website sleepeasysoftware.com
location Los Angeles, CA 90066
age
visits member for 2 years, 5 months
seen Nov 20 at 1:37

Jun
15
awarded  Yearling
Jun
11
comment What kind of code would Kent Beck avoid unit testing?
@Telastyn If you're saying, "Kent Beck could just reply to that other question (or that I could do it on his behalf if he replies)" I see your point.
Jun
11
comment What kind of code would Kent Beck avoid unit testing?
@Telastyn JoshKelley's answer shows otherwise, but that's your right. Besides, if Kent Beck replies to my email I'll be able to post it as an answer anyway. But I won't be able to do this is the issue is closed.
Jun
11
comment What kind of code would Kent Beck avoid unit testing?
FWIW, I don't come to your conclusion about many objects collaborating together. I think he advocates independence for test stability and reproducible results. In fact, to me it seems impossible to avoid "many objects collaborating together" unless you were stubbing/mocking.
Jun
11
comment What kind of code would Kent Beck avoid unit testing?
@MichaelT nope, I'll do that now though. Good idea. If he replies I'll post the answer here.
Jun
11
revised What kind of code would Kent Beck avoid unit testing?
added 468 characters in body
Jun
11
comment What kind of code would Kent Beck avoid unit testing?
@GlenH7 after skimming those answers I'm not satisfied (but of course, that's just my opinion). For example, look at UncleBob's answer. He doesn't even acknowledge that such a situation exists. I really think there's value in understanding Kent Beck's position, not just a general, "What's your opinion?" After all, he's the father of TDD.
Jun
11
asked What kind of code would Kent Beck avoid unit testing?
Apr
29
accepted What is the Loopback Pattern?
Apr
29
comment What is the Loopback Pattern?
How is this different from a mock?
Apr
29
asked What is the Loopback Pattern?
Mar
27
comment Should we test all our methods?
I'm still making up my mind on this question, but here's a talk of someone who has decided the answer is "no". Ian Cooper: TDD, where did it all go wrong To summarize this great talk, you should test outside-in and test new behaviors not new methods.
Mar
27
revised Should I refactor my unit tests when I extract a class out of the System Under Test?
added 1 characters in body
Mar
26
revised Should I refactor my unit tests when I extract a class out of the System Under Test?
deleted 3 characters in body
Mar
26
accepted Should I refactor my unit tests when I extract a class out of the System Under Test?
Mar
26
answered Should I refactor my unit tests when I extract a class out of the System Under Test?
Mar
4
comment I'm struggling with abstracting my animation code in my game using a functional style. How can I do this?
It also seems to be against the design of the Entity Component System design pattern. That said... If you think I should still just put the function in my state, I'll trust you on this.
Mar
4
comment I'm struggling with abstracting my animation code in my game using a functional style. How can I do this?
I'm using javascript + "discipline" to code it in a functional style. I've also been trying to keep my data and behavior completely separate from each other, and I feel like the player state having-a function would be mixing the two together. My rule is somewhat arbitrary, but a nice benefit is I can easily serialize the state whenever I want to save it or have another programming language send it over the wire. That said, your answer is an easy way to accomplish the result I'm looking for. But, is there a way to do it while keeping behavior out of my state?
Mar
4
revised I'm struggling with abstracting my animation code in my game using a functional style. How can I do this?
edited tags
Mar
3
comment I'm struggling with abstracting my animation code in my game using a functional style. How can I do this?
What's a functor? Are you using the "Function Object" meaning of the word?