Am i correct to make the conclusion that #2 supports the idea that Kasey Speakman introduced in his response about DTOs?
Thanks for this response! I think this is turning into a real ”aha moment”! 👍👍
Maybe to some extent.
The main question is what you try to isolate from what? There are different ways to build isolations, in some PL you can restrict access to inside of the module, ot you can use closures to hide some data, or something like wrapper object which takes callback-functions (like monad).
I'm not sure I fully understand your initial question.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.