|
|
|
|
|
by magicalhippo
29 days ago
|
|
I've come to hate hiding internals. Put them in a namespace which makes it clear there's no API stability guarantees, but make them available if needed. As you note it's just pain with no gain to properly hide them. Users can't readily work around bugs or extend functionality. |
|
It's really a system design problem rather than access control: if you separate functional modules in a reasonable way, then it can be better reused.