Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

publicboolCanBook(Cargocargo, Voyagevoyage)<br />{<br />doublemaxBooking = Domain Driven Design 101


Published on

publicboolCanBook(Cargocargo, Voyagevoyage){doublemaxBooking = voyage.Capacity * 1.1;if (voyage.BookedCargoSize + cargo.Size &gt; maxBooking)returnfalse;  ...}publicboolCanBook(Cargocargo, Voyagevoyage){if (!overbookingPolicy.IsAllowed(cargo, voyage))returnfalse;  ...}DDD is about making concepts explicit

Published in: Technology, Business
  • Login to see the comments