Exceptional coding style

bearophile bearophileHUGS at lycos.com
Tue Jan 15 03:21:52 PST 2013


Artur Skawina:

> Library territory. There's no need to put this in a D compiler.

One of the threads about possible ways to allow to implement that 
in library code:

http://forum.dlang.org/thread/nxhsgwliuwdgidaoudud@forum.dlang.org


> Except if you'd like to have 'printf("%.2g", d)' instead of 
> 'printf!"%.2g"(d)' syntax.

In some cases I don't mind a syntax like 'printf!"%.2g"(d)'. But 
I'd like D to offer ways to remove/avoid template bloat in most 
of those cases.

Bye,
bearophile


More information about the Digitalmars-d mailing list