Mar 21, 2024
A really good explanation why data should be used inside its owner component.
While example 1 is great, example 2 is underdeveloped - it requires either a knowledge of DDD or reading through an article with lots of code, thus it does not work well for novice readers short on time.
How would a manager set up the interteam communication in a way to make the "correct" implementation from example 1 happen? If team B needs a feature, it is faster to implement it inside the team than to request it from another team (which was one of the scourges of SOA).