[swift-evolution] [pitch] "import" declaration, support for comma-separated modules
nmaccharoli at gmail.com
Sun Oct 16 04:02:08 CDT 2016
2016年10月16日日曜日、Rien via swift-evolution<swift-evolution at swift.org>さんは書きました:
> Specifically, I don’t care much. Say -0.1 :-)
> In general I am against “savings lines”.
> While very short modules (< 10) do indeed profit from having fewer lines,
> most modules don’t.
> Having a few more lines, even empty ones, can do a lot to improve code
> readability imo.
> Probably my Ada experience showing through….
> > On 16 Oct 2016, at 02:41, Charles Constant via swift-evolution <
> > How would we all feel about allowing multiple modules with one import
> > Eg: the option to write
> > import Cocoa, Foo, Bar.Baz
> > in addition to just:
> > import Cocoa
> > import Foo
> > import Bar.Baz
> > When I'm writing smaller files that import a few modules, I'd prefer to
> lump the imports together like this. Doesn't seem like a feature that would
> require much effort to implement either.
> > _______________________________________________
> > swift-evolution mailing list
> > https://lists.swift.org/mailman/listinfo/swift-evolution
> swift-evolution mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution