All Questions
Tagged with javaprogramming-practices
2 questions with no upvoted or accepted answers
1vote
0answers
119views
Updating class property inside the method vs. returning a value from the method
In a large code base, what is a good practice between: Updating class properties inside the method vs. returning a value from the method and updating the property in the place where the call to the ...
1vote
1answer
333views
Creating Set Subclasses or Allowing Outside Configuration
I have a TriggerCaller and a TriggerAction class. The Caller "calls" the do() method on the action, which is set with the TriggerCallers setAction() method. The rest of the program should deal with ...