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

New answers tagged

3 votes

Where to put getOrSave responsibility?

Putting this logic in a different class does not reduce the clutter. The clutter is simply moved to another part of your architecture. The truth is, I don't think there is a perfect place to put this ...
Greg Burghardt's user avatar

Top 50 recent answers are included