Dividing D Module between multiple files
Muahmmad Adel via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Feb 17 23:23:24 PST 2015
I have searched online and I found no way for dividing D Module
between multiple files.
While other languages move to making classes distributed on
multiple files (like C#'s partial classes), D is moving in the
opposite direction, and makes a bigger code unit in one file.
Biding every module to single file means large files, with high
probability of merge conflicts (as more developers are working on
the same file) makes separating developer's code from IDE
generated code more difficult.
I need to understand the rationale behind binding the module to
the file. Although Alexandrescu explained rationale behind
different language design decisions in his book, he didn't
explain this one.
Thanks
More information about the Digitalmars-d-learn
mailing list