Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Explore our questions

2 votes
2 answers
330 views

Should mocks used in unit tests represent entireties or subsets?

3 votes
3 answers
185 views

throwing an exception or returning Optional

49 votes
7 answers
8k views

What would be the disadvantage to defining a class as a subclass of a list of itself?

0 votes
1 answer
85 views

Where to put getOrSave responsibility?

-1 votes
4 answers
229 views

Is setting a flag in a loop a code smell?

9 votes
5 answers
5k views

How can an interpreter run code without translating into machine code?

6 votes
2 answers
2k views

Trouble with circular dependency in state machine design

-1 votes
0 answers
21 views

Deploying two major versions of a spring boot java app with the same pod in kubernetes

1 vote
5 answers
173 views

End method in normal flow versus exception flow

4 votes
4 answers
605 views

How to do "Separation of concerns"

-1 votes
2 answers
155 views

Idempotency for a financial transaction API

24 votes
4 answers
37k views

Service layer returns DTO to controller but need it to return model for other services

3 votes
2 answers
898 views

GetOrCreate method for a database operation

0 votes
1 answer
247 views

How to write custom implementation of a service/flow for a tenant in a multi-tenant microservice system?

Browse more Questions