4 ms·
That always bothered me too but never saw any good justification for that. I feel like it's just a straight up flaw in the language, unless someone can tell me
by oehtXRwMkIs 6y ago
That always bothered me too but never saw any good justification for that. I feel like it's just a straight up flaw in the language, unless someone can tell me why you would ever want unqualified imports.
- elcritch 6y agoIt hasn't bothered me with types and auto-complete combined with unified-call syntax (UCS) after a bit of use. Not sure if UCS and qualified imports would work so well. You can import specific names (similar to Python) like `import posix as ps`. Is that what you mean by qualified imports?
- Varriount 6y agoSee https://news.ycombinator.com/item?id=23452857 https://news.ycombinator.com/item?id=23452857 In short: unqualified imports don't play well with operator overloading, templates, or generics.