proposal: improved import declaration

David B. Held dheld at codelogicconsulting.com
Tue May 29 22:36:45 PDT 2007


eao197 wrote:
> [...]
> import tango.io.{Console, Conduit, FilePath, FileSystem, Stdout};

I like Java's syntax better:

import tango.io.*;

It's not as precise, but once you import more than two or three modules, 
you might as well do the whole namespace.

Dave



More information about the Digitalmars-d mailing list