DEV Community

Discussion on: Avoid getters and setters whenever possible

 
xtofl profile image
xtofl

I must say you have a point: we lack a vast body of "how to do X without violating design flaw Q".

This year I learned about Domain Driven Design, and the Onion Architecture, where they design apis around use cases instead of data. Maybe there is some source of positive guidelines we can tap.