Acceptable Data Classes

The key test for a data class is whether it should do more than store data. Whether a data class is a smell depends on context. Not every data class should be treated as a design problem. If related logic is already scattered elsewhere, th…

1 sources - 4 claims

The key test for a data class is whether it should do more than store data. Whether a data class is a smell depends on context. Not every data class should be treated as a design problem. If related logic is already scattered elsewhere, the data class usually should contain more behavior.