[ ArgumentList ] vs. @( ArgumentList )

John Chapman johnch_atms at hotmail.com
Wed Nov 7 09:03:57 PST 2012


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


More information about the Digitalmars-d mailing list