shouting versus dotting

Vincent Richomme forumer at smartmobili.com
Sun Oct 5 22:52:42 PDT 2008


Michel Fortin a écrit :
> On 2008-10-05 20:57:31 -0400, "Chris R. Miller" 
> <lordsauronthegreat at gmail.com> said:
> 
>> The !() syntax seems to serve only as a heads up that it's a template. 
>> Otherwise (as far as I can tell) a simple foo(int)(bar, baaz) would 
>> work just as well as foo!(int)(bar, baaz).

What about the ^ ? I think it's not worst than !

foo^(int)(bar) but maybe this symbol is already used by D ?
Personally I would prefer to keep the C++, Java, C# syntax with <> 
because people are used to it even if in some cases it looks like a bit 
shift op.



More information about the Digitalmars-d mailing list