2 ms·
I feel namespaces imposes the wrong structure. It’s just a tree where the actual problem is mixing in multiple levels of concepts and describing their relations
by pavlov 7y ago
I feel namespaces imposes the wrong structure. It’s just a tree where the actual problem is mixing in multiple levels of concepts and describing their relationships. (Sort of like OO inheritance vs. composition — or maybe a closer analogy would be file system vs. database.)
- nradov 7y agoC++ has a concept of "friend" classes which help a little in explicitly marking some of those relationships.
- j88439h84 7y agoWhat's a better solution for identifying values?
- pavlov 7y agoRemains to be invented, I guess? It's certainly a difficult problem, and any solution will be going against 70 years of convention of programs as plain text streams. I don't think we're going to be stuck here forever though.