4 ms·
Which languages have solved this problem?
by BarkMore 12y ago
Which languages have solved this problem?
- coldtea 12y agoAll languages that don't tie visibility rules to the name of the variable/function? Even C++ applies IIRC.
- BarkMore 12y agoThe mechanism for specifying visibility has nothing to do with the issue. The Java approach for standard packages is nearly identical to what's proposed for Go. Anything in the com.sun. (or whatever they call it now) namespace is considered internal, even though it's publically accessible.