[Issue 13855] Allow multiple selective imports from different modules in a single import statement

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Mar 14 06:15:15 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=13855

yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com

--- Comment #6 from yebblies <yebblies at gmail.com> ---
My opinion is that this is a language fix for a style issue, and would not pull
its weight.

While we certainly do want to avoid the issue java has, we already do avoid
most of that with the existing syntax.

For your 'signal/noise ratio' example, I consider the first example less noisy
as the 'import' makes it clear what those lines are.

I personally only ever import from one module per line, and that seems to avoid
the problems you're encountering.

--


More information about the Digitalmars-d-bugs mailing list