[OT] modules vs filenames in "module-name == filename" package systems
Nick Sabalausky
a at a.a
Tue Jun 29 11:51:49 PDT 2010
In a language that has a package system that forces package names to be the
same as the directory name, and module names to be the same the file name
(Such as Java, but not D): What is the point of having packages/modules
instead of just simply importing by a relative filepath? Is it just so that
it's consistent with refering to a symbol by it's fully-qualified name, or
forcibly disallowing absolute paths when importing, or are there other
reasons?
-------------------------------
Not sent from an iPhone.
More information about the Digitalmars-d
mailing list