The unqualified imports are definitely a major pain point. In a large Swift app I find myself having to be eternally vigilant organizing my files so that I'm not dumping surprises into the import site.
Makes me appreciate how even Node.js got it right so early on.
I also disliked unqualified imports. I can never get used to languages where you can 'import foo' or 'use foo' and it just dumps a bunch of symbols into the current scope. That combined with Swift's 'implicit member expressions' makes it difficult to read code outside of an IDE (although I understand why they made that tradeoff given some of the long identifiers Swift inherited) [1].
hombre_fatal|1 year ago
Makes me appreciate how even Node.js got it right so early on.
throwitaway1123|1 year ago
[1] https://github.com/Quotation/LongestCocoa