Comments on: Modeling entities https://domaindrivendesign.org/modeling-entities/ Developing Thu, 03 Jun 2021 14:39:26 +0000 hourly 1 https://wordpress.org/?v=6.4.2 By: James https://domaindrivendesign.org/modeling-entities/#comment-2 Thu, 03 Jun 2021 14:39:26 +0000 https://domaindrivendesign.org/?p=54#comment-2 Do you think you can essentially inject dependencies through a constructor if they help you get more expressive when creating methods? For example, Product :: price () can refer internally to a strategy (PricingStrategy), which will determine the price of a product based on discount campaigns, manufacturer promotions, etc.?

]]>