Banish state-mutating methods from data classes
1–2 of 2 posts
Re: Banish state-mutating methods from data classes
#2This article is sort of confused on what "data type" means.
Most people who say "data type" accept that it can have methods scopes to that data type: setter logic, conversion methods, and whatever's domain-appropriate.