Reputation
3,633
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
13 31
Newest
 Yearling
Impact
~295k people reached

Mar
31
comment designing classes for testability
Ok. It's still hard to tell. depends on how much code there are for each part. A simple measure is just to write unit tests and try to get full test coverage. It is hard? Divide it into smaller classes.
Mar
31
comment designing classes for testability
It's impossible for me to know how complex your functions are and if they need separation. I can only give you suggestions, it's up to you to see what actually needs to be done.
Mar
30
answered designing classes for testability
Jan
7
awarded  Yearling
Nov
3
awarded  Good Answer
Nov
3
reviewed Approve What's the difference between stateful and stateless?
Oct
26
awarded  Notable Question
Jul
25
awarded  Notable Question
Mar
20
awarded  Curious
Mar
2
awarded  Popular Question
Feb
6
awarded  Nice Answer
Jan
7
awarded  Yearling
Jun
13
awarded  Popular Question
May
2
comment As an interviewer, asking a candidate to find errors in small sample code. Is this fair?
I hope that you give them a own paper with the problem. Also give them a pen. Make sure that they understand that they can get a couple of minutes to "compile" the code. And finally invite them to think out loudly and discuss the code.
Apr
24
accepted Opposite term of indent
Apr
13
comment Test driven development when implementing a flexible length list
@Mert: Depends on what you are testing and what you use to do the test. Saying that random doesn't work for every single use case is like saying that service locator is an anti pattern.
Apr
3
answered Test Doubles, Mocks and Stubs - when not to use & why, for Ruby, Rspec
Apr
3
comment What's the difference between stateful and stateless?
@think123: It's more performant as you do not have to manage state (i.e. load balancing etc is a lot easier). It's how ever more complex since you have to manage an artificial state.
Mar
3
awarded  Notable Question
Jan
7
awarded  Yearling