Skip to main content
Daniel Kaplan's user avatar
Daniel Kaplan's user avatar
Daniel Kaplan's user avatar
Daniel Kaplan
  • Member for 11 years, 10 months
  • Last seen more than a month ago
111 votes
12 answers
21k views

I've been told that Exceptions should only be used in exceptional cases. How do I know if my case is exceptional?

71 votes
14 answers
28k views

Is it a bad idea to return different data types from a single function in a dynamically typed language?

70 votes
12 answers
9k views

"Everything is a Map", am I doing this right?

59 votes
9 answers
48k views

Should the methods of a class call its own getters and setters?

27 votes
7 answers
4k views

Does functional programming ignore the benefits gained from the "On the Criteria To Be Used in Decomposing Systems into Modules" (data hiding)?

22 votes
4 answers
3k views

How can I use unit tests and TDD to test an app that relies mostly on database CRUD operations?

21 votes
5 answers
25k views

Is the Entity Component System architecture object oriented by definition?

21 votes
5 answers
4k views

In TDD, if I write a test case that passes without modifying production code, what does that mean?

18 votes
2 answers
5k views

What kind of code would Kent Beck avoid unit testing? [duplicate]

15 votes
2 answers
2k views

How do I know if I have enough unit test coverage to remove an integration test?

15 votes
2 answers
1k views

Should I refactor my unit tests when I extract a class out of the System Under Test?

14 votes
3 answers
696 views

Is an Optional/Maybe type useful in dynamic languages?

9 votes
1 answer
2k views

What are some techniques I can use to refactor Object Oriented code into Functional code?

8 votes
2 answers
2k views

Can I start with a passing unit test?

8 votes
3 answers
3k views

In domain driven design, how do I convert a database table with a primary key into a Value Object?

5 votes
3 answers
1k views

With Kent Beck's "test && commit || revert" (TCR), do you skip the "red" of "red, green, refactor"?

5 votes
3 answers
7k views

How do the Application and Database Interface Layers interact at their boundary?

5 votes
6 answers
453 views

In scrum, how do you give an estimate for a backlog item that is primarily research?

4 votes
1 answer
154 views

How would I isolate changes to mutable state if I need to run two queries to get the final result?

3 votes
2 answers
147 views

What's a good way to make sure that locally serialized data can be deserialized in newer code?

3 votes
2 answers
304 views

I'm struggling with abstracting my animation code in my game using a functional style. How can I do this?

3 votes
0 answers
505 views

Why does Java's Collections.unmodifiableList return a List interface instead of an UnmodifiableList interface? [duplicate]

2 votes
2 answers
2k views

Why does Jenkins warn you if you tell it to check for changes every minute?

2 votes
2 answers
827 views

What is Quality Assurance's role in a company that practices Continuous Delivery?

1 vote
2 answers
123 views

When writing automated tests for a website relying heavily on a template language, how do I gain confidence while maintaining fast feedback?

1 vote
2 answers
1k views

What is the Loopback Pattern? [closed]

0 votes
0 answers
80 views

What is the Big O notation of modifying an existing element in a heap data structure?