Kill implicit joining of adjacent strings

Don nospam at nospam.com
Thu Nov 11 04:36:14 PST 2010


Manfred_Nowak wrote:
> Don wrote:
> 
>> that's the only thing that is missing
> 
> Disagreed.
> 
> One of the main points of all languages is to emphasize ones aim, 
> espacially if there is a chance of misinterpretation because of the 
> language.
> 
> Example: there is only a tiny change in the characters from `31415' to `
> 3.1415'. Without function overloading this can be detected in D, because 
> the type of actual parameters changes and Walter dismissed automatic type 
> changes from `real' to `int'.
> 
> The situation the OP described sams quite similar to me.
> -manfred  

I was replying to Rainer, not to the OP.
At present in the compiler there is no difference between "a" "b" and
"a" ~ "b". So implicit joining could be disallowed with loss of 
functionality. But that fact isn't clear from the docs.


More information about the Digitalmars-d mailing list