Moataz Mohamed
02/15/2023, 10:10 AMJavier
02/15/2023, 10:55 AMMoataz Mohamed
02/15/2023, 12:04 PMJavier
02/15/2023, 12:19 PMAlex Prince
02/15/2023, 2:28 PMIDoTheThing
, that they can call to do the thing, and it will kick them back the result of trying to do it, but, they have no idea HOW it's done
that control flow can flip, but the dependency itself doesn't. For example if the domain needs to get data from the network to do what it needs to do, (say poll an endpoint for a response) it doesn't, and can't, know how to do that, but what it can do, is say I need a dependency of IPollForResponseTheDomainNeeds
passed into me, which is then implemented in layers farther out and passed in.