DEV Community

Discussion on: Is your Java code really production-ready?

Collapse
 
connorphee profile image
Connor Phee

Great post, Scott! I love the idea of exposing behavior over state. I think the same could be said for implementation as well. If there are getters and setters for everything, consumers are able to see everything that the class is using to produce the end behavior.