Skip to main content
sfiss's user avatar
sfiss's user avatar
sfiss's user avatar
sfiss
  • Member for 6 years, 11 months
  • Last seen this week
20 votes

What is the point of unit tests?

9 votes

Should I use a global logging variable?

9 votes

Is it a good idea to return a Builder from a Factory?

5 votes

How should I call splitted functions? centralize them? or call it one next to one?

4 votes

Most relevant objectively-quantifiable reason to choose to use an object method vs. a function that just accepts the object as a parameter?

3 votes

Efficient way to Decouple classes in class design

3 votes

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

3 votes

Best practices for unit testing when breaking down functions into smaller ones

2 votes

Is there a distinct optional type semantically representing a value that *needs to be calculated later*?

2 votes

Dependency injection into method calls

2 votes
Accepted

Pattern for a base class to do pre-validation and/or post-processing on a deriving class's overridden method?

2 votes

Java - Does an Interface really have no state or behavior?

2 votes
Accepted

Composing and Inheriting from the Same Type

1 vote

Is it acceptable to pass a "context object" through a pipeline of entities?

1 vote

Equivalent to currying for return values

1 vote

Is it logical to not use inheritance because the function is critical?

0 votes

Does the Visitor Pattern necessitate traversing a structure of instances?

0 votes

Why is "dependency injection" ok, but not "the opposite of preserve whole object (pass required parameters only)"?

-1 votes

Are "Distributed Enums" an Anti-pattern in non-OOP like they seem to be considered in OOP?