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

Bruno Medeiros brunodomedeiros+spam at com.gmail
Tue Oct 14 15:18:59 PDT 2008


Tomas Lindquist Olsen wrote:
> Walter Bright wrote:
>> The foo.(bar) syntax seems to be sinking. The foo{bar} seems to be the 
>> most practical alternative. So, how about putting it in the next D2 
>> release on a trial basis, so people can try it out and see how it looks?
> 
> I personally think it's a bad idea.
> 
> I have a danish keyboard layout:
> 
> { == AltGr+7
> } == AltGr+0
> 
> parenthesis are easier to type, as they just use shift.
> This isn't really that big a problem, I already have to do it in other 
> places, but this is just one more... I actually like the current syntax 
> better though!
> 
> Just my 2 cents on this bikeshed color!

Unfortunately you can't optimize for all cases (ie, all keyboard layouts).

-- 
Bruno Medeiros - Software Developer, MSc. in CS/E graduate
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list