Naming conventions for functions in similar modules

Walter Bright newshound2 at digitalmars.com
Tue Jun 21 23:30:49 PDT 2011


On 6/21/2011 10:38 PM, Jonathan M Davis wrote:
> For example, should we have
>>> std.ascii.toLower and std.uni.toLower or std.ascii.toAsciiLower and
>>> std.uni.toUniLower?


I think we've failed if we have to name things std.ascii.toAsciiLower, i.e. 
having to repeat the module name in the function name in order to disambiguate it.


More information about the Digitalmars-d mailing list