|
|
|
|
|
by anthonyb
5808 days ago
|
|
Most dynamic languages use convention, which seems to work pretty well in practice. My take is that if other developers are accessing the encapsulated parts of your library, then your API or your documentation is broken - possibly both - and you should, like, fix that. Not use language features to lock them out. |
|
And if the API isn't sufficient by not exposing enough, that's fine. It's always easier to expose something later than to make it private later.