Voting: std.logger

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 1 10:06:26 PDT 2014


"Dicebot"  wrote in message news:pnwgrcqfuhkzcaasatti at forum.dlang.org...

> I am afraid we don't have the right way in D then. Caring about 
> cross-module name conflicts feels too much like plain C.

But with overloading!

It isn't just about avoiding conflicts - if the function name is unique, you 
can tell what the code is doing without having to examine the context so 
closely.  This is especially important for the standard library, because the 
time spent learning names can be reclaimed over multiple projects.

This is a strength of C, although C goes way too far with forcing it. 



More information about the Digitalmars-d mailing list