1 min readAug 25, 2020
auto generated and manually generated setters/getters cause issues.
Related to the color. Is that color essential to the object ?
- if it is then you should create a new one (functional way)
- if its accidental you could change that color (no set a color, change it) but this will bring ripple effect on all references to your objects