3 ms·
It's "discipline", not "ethics". I just had a brain spasm. And, yes, it surely stops them better than some flimsy member access restrictions.
by huhtenberg 13y ago
It's "discipline", not "ethics". I just had a brain spasm.
And, yes, it surely stops them better than some flimsy member access restrictions.
- eropple 13y agoAs opposed to a private array and a public iterator API?
- huhtenberg 13y agoNaughty hands will find a way to break a container/iterator metaphor just the same as a simple buffer. Point being is that it's much better to work with competent developers than to needing to rely an idiot-proof coding style.