Refactoring large data object

后端 未结 5 627
小蘑菇
小蘑菇 2021-01-31 12:13

What are some common strategies for refactoring large \"state-only\" objects?

I am working on a specific soft-real-time decision support system which do

5条回答
  •  名媛妹妹
    2021-01-31 12:23

    Splitting a Large Data Object is very similar to Normalizing a Large Relational Table (first and second normal form). Follow the rules to reach at least second normal form and you may have a good decomposition of the original class.

提交回复
热议问题