Kill implicit joining of adjacent strings

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Nov 12 01:53:23 PST 2010


On 11/12/10 1:06 AM, Don wrote:
> Andrei Alexandrescu wrote:
>> On 11/11/10 5:59 PM, Walter Bright wrote:
>>> Andrei Alexandrescu wrote:
>>>> Let me ask a related question: if there were a priority list of things
>>>> that Walter should be busy with, where would this feature be on that
>>>> list?
>>>
>>> For once, I agree with Bearophile. The adjacent string concatenation was
>>> a very very early feature, and the ~ completely supplants it. While I
>>> don't think it causes many problems, it's a pointless redundancy and
>>> should be removed.
>>
>> I agree too but there are many similarly good ideas (some of which
>> from himself) that are older.
>>
>> Andrei
>
> This isn't new. I remember this one being discussed about seven years ago.

Well put me on board then. Walter, please don't forget to tweak the 
associativity rules: var ~ " literal " ~ " literal " concatenates 
literals first.

Andrei


More information about the Digitalmars-d mailing list