Kotlin Code Smell 25 - State as Properties
When an object changes its state, the best solution is to modify the attribute, right?
Problems
Mutability
Attribute Polluting
Setters
Solutions
Use immutable objects
The model states as mathematical set inclusion.
Separate the state from the...
yonatankarp.com1 min read