Naming conventions for functions in similar modules

Kagamin spam at here.lot
Wed Jun 22 02:18:06 PDT 2011


> > > something in their name to distinguish them. For example, should we have
> > > std.ascii.toLower and std.uni.toLower or std.ascii.toAsciiLower and
> > > std.uni.toUniLower?

toAsciiLower seems to be an optimization so it should be valid to import it statically or give it an ugly name because it's bug prone so its usage should be verbose and the "ascii" part definitely must be obligatory.


More information about the Digitalmars-d mailing list