Fighting bloated class design
The power of separation
In a world of Domain Driven Design it's a common approach to have business entities represented as classes. So we create them plain at the beginning, with the only necessary set of fields. Like in this, a classic example of address entity.
Single Responsibility Principle on a Method Level
We need to go deeper
SOLID is a very popular acronym in the software industry, and first letter S stands for a Single Responsibility Principle, a very powerful term and technique that helps fight software complexity. Everyone knows it, everyone talks about it, and yet, it's still hard to use properly.