3 ms·
In a language without function overloading or namespaces/modules, yes, it would be a major limitation. But since most languages have both, I don't think it's a
by tsimionescu 4y ago
In a language without function overloading or namespaces/modules, yes, it would be a major limitation.
But since most languages have both, I don't think it's a serious concern. I don't know of any language where the only names pace support is classes, so that all functions go in a global namespace unless they are methods on a class - maybe you could argue C works like this (where "methods" are function pointer member of a struct)?