Dart imports system #30299
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
closed-stale
Closed as the issue or PR is assumed stale
type-enhancement
A request for a change that isn't a bug
Hello,
I just want to put in my two cents on the issue and document this concerns about code imports in Dart.
I don't expect anyone to take it seriously. I totally understand the issue has the lowest priority and I apologise for any inconvenience caused.
Designing imports system makes sense to take in account Java. The language has a very powerful imports management with a very simple and reliable syntax.
Example:
Map
interface and some other geographicalMap
, you can call classes with their full names likecom.java.util.Map
andorg.geography.Map
. No need obscuring your code withimport A as B
-type statements.Here I documented some of the most obvious import refactoring problems I encountered (let me know if you have any workarounds.):
#30294
#30295
#30296
#30297
#30298
All of the mentioned problems are nicely solved in Eclipse IDE for Java developers. So there is proven track record of success for the naming convention.
Key points of it's success:
export
operator.Thank you for your attention to this matter.
The text was updated successfully, but these errors were encountered: