How to decouple a class from it's attributes when the methods of the attributes need to modify state of the owning class?

前端 未结 0 1854
野的像风
野的像风 2021-01-07 00:03

How do I decouple a class from its attributes when methods of the attributes need to modify the state of the owning class? Alternatively, how can I redesign the architecture

相关标签:
回答
  • 消灭零回复
提交回复
热议问题