shouting versus dotting

Bruce Adams tortoise_74 at yeah.who.co.uk
Sun Oct 5 04:12:30 PDT 2008


On Sun, 05 Oct 2008 11:48:35 +0100, Tom S  
<h3r3tic at remove.mat.uni.torun.pl> wrote:

> I don't like using "." for template instantiation. The tokenizer in my  
> eyes clearly separates constructs at ".". On the other hand, "!" as a  
> graphical character is more 'filled', thus doesn't separate the  
> identifier and arguments that much visually.
>
> foo.bar          <-  obviously member access
> foo.(bar, baz)   <-  multiple member access?
>
> ... It looks like it should yield a tuple containing bar and baz :P
>
That is actually a very nice idea and a good syntax for it.



More information about the Digitalmars-d mailing list