When D is not nice

Leandro Lucarella llucax at gmail.com
Mon Jul 7 09:46:09 PDT 2008


Jarrett Billingsley, el  7 de julio a las 12:37 me escribiste:
> >> auto x = asStr("You pressed button ", i, " with your pinky toe");
> >
> >
> > That sounds like a poor's man version of the python's built-in
> > formatting capabilities:
> >
> > x = "You pressed button %d with your pinky toe" % i
> 
> What can python's formatting operator do that std.string.format cannot? 

Nothing I guess. I was talking about the nicer syntax =)

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
You can do better than me. You could throw a dart out the window and hit
someone better than me. I'm no good!
	-- George Constanza



More information about the Digitalmars-d mailing list