Objects Without Behaviour

后端 未结 4 954
庸人自扰
庸人自扰 2021-01-25 11:35

I have a question related to general OOP than specific to a language. I was trying out a simple application (in java) and I was trying to model it like a real world scenario. Wh

4条回答
  •  余生分开走
    2021-01-25 11:40

    No it is not bad. There is Value Object pattern witch widely used and DTO pattern as well.

提交回复
热议问题