When D is not nice

Jarrett Billingsley kb3ctd2 at yahoo.com
Sun Jul 6 17:36:03 PDT 2008


"Ary Borenszweig" <ary at esperanto.org.ar> wrote in message 
news:g4rhq1$1i7a$1 at digitalmars.com...

> But concatenating such things is so common... Instead of doing what it is 
> obvious, you get an error. At least built-in types should have opCat and 
> opCat_r defined like that.

Common in many languages, yes.  Convenient, yes.  But it's a pointless hole 
in the type system that I don't want to see opened.  Having used D for a 
while, I've come to appreciate using a function to do formatting rather than 
string concatenation.  It's more flexible and can be more efficient, and 
doesn't take that much more typing. 





More information about the Digitalmars-d mailing list