Skip to main content
valenterry's user avatar
valenterry's user avatar
valenterry's user avatar
valenterry
  • Member for 10 years, 4 months
  • Last seen more than 1 year ago
50 votes

Is there a pattern for a more "natural" way of adding items to collections?

30 votes

Is there any algorithm pattern to protect any content in the web to ensure I am the first one who created it?

21 votes

Why isn't software abstract on a grander scale?

17 votes

MVC: Does the Controller break the Single Responsibility Principle?

6 votes

Object Identity and Mutability

5 votes

Should I create a single object for a common method call or use a throw away approach?

5 votes
Accepted

Comments for a class that isn't an entity

5 votes

Is throwing an exception an anti-pattern here?

4 votes
Accepted

IoC as service locator

3 votes

Significant amount of the time, I can't think of a reason to have an object instead of a static class. Do objects have more benefits than I think?

3 votes

How to enforce implementation of interface to behave a certain way

3 votes
Accepted

Where should I place business logic validations?

3 votes

Options for constructing an object that is not logically initialized until all fields are set

3 votes

Query on hiding implementation details in java

3 votes
Accepted

Possible to refactor these methods that contain the same logical flow?

2 votes
Accepted

How to model and store an entity which has "one or more" values

2 votes
Accepted

What's the right OO way to create a counter/inventory class that works for both differentiated and undifferentiated countables?

2 votes

Coerce bad input or always crash early

2 votes

How wrong it is to have multiple associations between classes?

2 votes

Print Statements Inside Function Or Before Calling It?

2 votes
Accepted

Efficient storing and multidirectional lookup of hierachical data

1 vote

Rules and advice for logging?

1 vote
Accepted

How to avoid "type dispatchers" when working with SOLID

1 vote

Wrapping a map with instance or static method

1 vote

Returning a slimmed down domain entity from your view model

1 vote

Is it good Python style to write a function that has no effect other than potentially raise exceptions?

1 vote

Handle server-side/client-side when for showing missing information as placeholders

0 votes
Accepted

Design question concerning extensibility

0 votes

Initialize in Field, Constructor, or Argument

0 votes

MVC: Controller often simply delegates to Model when notified by View of GUI events. Is this reasonable?