开发者

Best practice - Builder inside an entity factory

开发者 https://www.devze.com 2023-02-11 20:20 出处:网络
I was wondering: How legitimate and what the objections would be to place a builder inside an entity factory?

I was wondering:

  1. How legitimate and what the objections would be to place a builder inside an entity factory?
  2. Whether these should be called from a manager.

I am not one hundred percent convinced that this would be best practice. However, it seems开发者_StackOverflow中文版 natural to refactor my application in this way. Is this due to bad design?

0

精彩评论

暂无评论...
验证码 换一张
取 消