How to avoid multiple spelling `import`
Dennis Ritchie via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jun 16 04:32:09 PDT 2015
On Tuesday, 16 June 2015 at 11:16:32 UTC, Idan Arye wrote:
> There is no problem to be solved here. Having to type `import`
> for each imported module is not big enough a burden to justify
> this additional syntax.
No, I think it is a holdover from C++-times — to write `import`
for each new header file.
For example, this feature is implemented Go:
import (
"os"
"bufio"
"strings"
"fmt"
)
More information about the Digitalmars-d-learn
mailing list