[ ArgumentList ] vs. @( ArgumentList )

Simen Kjaeraas simen.kjaras at gmail.com
Wed Nov 7 13:30:30 PST 2012


On 2012-11-07, 18:03, John Chapman wrote:

> On Wednesday, 7 November 2012 at 11:29:16 UTC, Simen Kjaeraas wrote:
>> On 2012-12-07 11:11, Timon Gehr <timon.gehr at gmx.ch> wrote:
>>
>>> On 11/07/2012 09:28 AM, Simen Kjaeraas wrote:
>>>> On 2012-19-07 09:11, John Chapman <johnch_atms at hotmail.com> wrote:
>>>>
>>>>> Personally, I also like <ArgumentList>.
>>>>
>>>> I am glad to say this will not happen. <> as delimiters cause problems
>>>> because they're used elsewhere as non-matching:
>>>>
>>>> <MyAttribute(foo > bar)>
>>>>
>>>
>>> This example does not show that they cause problems.
>>
>> Not true. The compiler certainly can handle it, but a programmer could
>> easily be confused.
>
> I'm not putting it forward for consideration, but there is a precedent  
> in Visual Basic -  
> http://msdn.microsoft.com/en-US/library/h3z05kek%28v=vs.80%29.aspx

I think that's the first time I've heard someone suggest something be
borrowed from VB. :p

-- 
Simen


More information about the Digitalmars-d mailing list