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

Christopher Wright dhasenan at gmail.com
Wed Oct 8 16:46:40 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?)

You could modify your keyboard layout instead. Chances are you only use 
one of your alt keys on a regular basis, so you could repurpose that to 
be a third-level chooser.



More information about the Digitalmars-d mailing list