Review: std.logger
Dragos Carp via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jul 13 07:53:19 PDT 2014
> write infof("%b is the answer", true); and it works write now
This is clear... the argument was against "info" (without format
specifier).
> there also good points for it.
> * people expect it after using write
This is a different module. Btw. std.file.write looks completely
different :)
> * sometimes it is less work typing
With more work, if you later need to internationalize your
application.
> * there is no reason to limit it arbitrarily
Simple is better than complex.
More information about the Digitalmars-d
mailing list