Feedback Wanted on Homegrown @nogc WriteLn Alternative

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 3 07:18:50 PDT 2014


On Fri, Oct 03, 2014 at 07:38:22AM +0000, Andrei Alexandrescu via Digitalmars-d wrote:
> "H. S. Teoh via Digitalmars-d" <digitalmars-d at puremagic.com> wrote:
> > On Sat, Sep 27, 2014 at 01:06:24PM +0200, Andrej Mitrovic via Digitalmars-d wrote:
> >> On 9/27/14, H. S. Teoh via Digitalmars-d <digitalmars-d at puremagic.com> wrote:
> >>> 	writefln!"...format string here"(... /* arguments here */);
> >> 
> >> Mmm, I like this. It would be one of those killer little features to
> >> show in a talk. Slide 1:
> >> 
> >> // oops, forgot an %s
> >> writefln("%s %s", 1, 2, 3);
> >> 
> >> Slide 2:
> >> 
> >> // Programmer error caught at compile-time!
> >> writefln!("%s %s")(1, 2, 3);
> > 
> > Alright, today I drafted up the following proof of concept:
> [snip]
> 
> Worth pursuing. Please submit an enh request and follow up there. Thanks!
> -- Andrei

Filed:

	https://issues.dlang.org/show_bug.cgi?id=13568


T

-- 
I see that you JS got Bach.


More information about the Digitalmars-d mailing list