272 reputation
112
bio website
location
age
visits member for 3 years, 1 month
seen 4 hours ago

11h
comment JavaScript Combination Inheritance Pattern
Ah, I see. Indeed, your alternative is obviously more correct than mine, and it's good to know that it's a "common idiom". Turn your comments into an answer and I'll accept it.
21h
comment JavaScript Combination Inheritance Pattern
@elclanrs: not really; that wouldn't give the child the parent's state; besides that's an example of prototypal inheritance.
22h
asked JavaScript Combination Inheritance Pattern
Mar
10
comment Correct Seam for Stub
Although your answer provides useful information, it doesn't really address my question: I'm definitely not asking about real-world or even practical approaches; my question was, within the topic of stubs, on the author's choice of seam.
Mar
9
accepted Correct Seam for Stub
Mar
9
comment Correct Seam for Stub
If "the fake extension manager does no logic, but instead takes its cues(?) From the test to know what to return", how do you get to test the validation logic?
Mar
7
comment Correct Seam for Stub
Also, with an ExtensionManager, you end up having to write the validation logic twice: in the actual manager and in the fake manager.
Mar
7
comment Correct Seam for Stub
I'm new to unit testing and starting out with Roy's book. I haven't even gotten to mocks yet, but I'll be sure to review your answer once I get there.. Just wanted to make sure I wasn't missing something obvious.
Mar
7
comment Correct Seam for Stub
Why refactor out anything more than the troublesome dependency?
Mar
7
asked Correct Seam for Stub
Jan
24
comment Am I slow or is this normal?
"The steps you've taken"? Shouldn't they be 12..?
Dec
31
awarded  Citizen Patrol
Oct
22
awarded  Popular Question
Sep
9
comment What are the advantages of using LISP and Haskell? Will they make me a better programmer?
Haskell is not a logic programming language and neither is Lisp.
Jun
30
awarded  Popular Question
May
8
comment I don't know C. And why should I learn it?
Here are some things the other creator of SO has to say about knowing C: joelonsoftware.com/articles/ThePerilsofJavaSchools.html joelonsoftware.com/articles/CollegeAdvice.html joelonsoftware.com/articles/fog0000000319.html
Jan
24
awarded  Organizer
Jan
24
revised Will taking courses in system administration help land a programming job?
removed inappropriate tag
Jan
24
suggested suggested edit on Will taking courses in system administration help land a programming job?
Jan
8
awarded  Commentator