About Go, D module naming
Timon Gehr
timon.gehr at gmx.ch
Fri Dec 21 00:44:06 PST 2012
On 12/21/2012 06:41 AM, Walter Bright wrote:
> ....
>
> D has an excellent module system.
... modulo the private symbol clash issue. For all I know it is
deliberate, which is embarrassing. Other than obviously breaking
modularity, it severely restricts the usefulness of symbol
disambiguation (which it makes necessary when it should not be), because
the disambiguating alias may introduce more conflicts even if it is
private, all over the code base.
Eg:
https://github.com/D-Programming-Language/druntime/pull/298#discussion_r1691013
> No, I don't think Go or anyone else has a better one.
Other languages that support modules usually get hiding of private
symbols (or equivalent) right.
More information about the Digitalmars-d
mailing list