Kill implicit joining of adjacent strings
Steven Schveighoffer
schveiguy at yahoo.com
Fri Nov 12 04:41:27 PST 2010
On Fri, 12 Nov 2010 04:53:23 -0500, Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org> wrote:
> 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.
You mean *should* concatenate literals first? I think currently it
doesn't.
-Steve
More information about the Digitalmars-d
mailing list