3 ms·
I think what you say makes complete sense at module-level (as in, for a standalone lib for instance) but I never bother segregating things internally within a l
by simias 3y ago
I think what you say makes complete sense at module-level (as in, for a standalone lib for instance) but I never bother segregating things internally within a lib/module/exe and rely on good documentation and coding practices to avoid having member mutations all over the place.
If I code in Rust or C++ I can use namespacing and public/private to give every single object in the codebase a clean interface, but in C doing that is just frustrating, not to mention potentially inefficient.