2 ms·
> If you expose things as data, just be honest about it and treat it as such. It's already out in the open, why hide it in objects again? What if this exposure
by the_af 8y ago
> If you expose things as data, just be honest about it and treat it as such. It's already out in the open, why hide it in objects again?
What if this exposure occurs at the boundaries of your system, or when interacting with certain libraries? Surely there's value as "mostly" handling some things as objects within your system, even if you expose their innards and maybe break their invariants at the boundaries.