foo!(bar) ==> foo{bar}

Tomas Lindquist Olsen tomas at famolsen.dk
Wed Oct 8 09:21:17 PDT 2008


Walter Bright wrote:
> Tomas Lindquist Olsen wrote:
>> I just think it's funny that this has even come up and is getting 
>> serious consideration. Walter usually don't like changing the color of 
>> his shed! And D coders are already used to !()
> 
> As Andrei said, I don't write a lot of templates. He does.
> 
> What I'd really like are those funky « and » quote characters. But alas, 
> few keyboards have them on it. (I inserted them here by cutting and 
> pasting from somewhere else, hardly very practical. I could modify my 
> text editor to make it easy, but what about every other ascii text 
> editor people use?)

They're not printed on my keyboard but I can use AltGr+Z and AltGr+X to produce « and » . This 
is actually a lot nicer to type than { } which requires me to move my hands a lot more.

I think it's a real problem if some people can't produce them though... Sometimes you just 
wanna hack a bit in some crappy console editor...



More information about the Digitalmars-d mailing list