Skip to main content
Caleth's user avatar
Caleth's user avatar
Caleth's user avatar
Caleth
  • Member for 10 years, 2 months
  • Last seen this week
125 votes

Why use Optional in Java 8+ instead of traditional null pointer checks?

71 votes

Should I record a bug that I discovered and patched?

65 votes
Accepted

Why can FAT16 not store more than 2 GB?

59 votes

Is it ok to have validation layer before access control layer

49 votes

Should I still follow "programming to an interface not implementation" even if I think using concrete class members is the simpler solution?

29 votes

How do I mitigate a scenario where a user goes to pay, but the price is changed mid-request?

26 votes

Which is preferred: subclass double or create extension methods to test (relative) equality due to floating point differences?

25 votes

Avoiding throw because we are not sure the exceptions will always be caught

24 votes

Should "Set" have a Get method?

20 votes

What is the meaning of the 90/10 rule of program optimization?

20 votes

Why do modern operating systems *ever* have perceptible input (keyboard/mouse) lag?

17 votes
Accepted

How to reach the parent object?

16 votes

Why is "diamond problem" a problem? Why doesn't the child simply call both parent's methods sequentially? Why is a thing with solutions a problem?

12 votes

Purpose of async/await in web servers

12 votes

How to add logging to a library so it can integrate easily with the logging system of the program using the library?

11 votes

Should "between x and y" be commutative?

11 votes
Accepted

Is there a reason Iterator and Stream do not implement Iterable?

10 votes
Accepted

Why Named Constructors are getting popular shouldn't be an antipattern?

10 votes

How to respect Single responsibility principle and use exception handling at the same time?

9 votes

C++ : What is the order of function pointers inside vtable?

9 votes

Should I specify my header include path in the source code, or as a project option?

9 votes

Database design for fields that should be NOT NULL eventually, but may not yet have a value

9 votes

Singleton without any state

8 votes
Accepted

Why is the builder-pattern often implemented like this?

8 votes

design pattern for class with data attached

8 votes
Accepted

Exceptions versus guard clauses

8 votes
Accepted

Algorithms: How do I sum O(n) and O(mlog(n)) together?

7 votes

Why just "interface segregation principle" but not "method segregation principle"?

7 votes

Is it logically possible to consistently name commits in a VCS using an ordered sequence?

7 votes

Try-catch in method or where the method is called?

1
2 3 4 5
7