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

Steven Schveighoffer schveiguy at yahoo.com
Tue Oct 7 10:19:00 PDT 2008


"Frank Benoit" wrote
> Steven Schveighoffer schrieb:
>
>> To be honest, I sort of agree with superdan.  If you are going to be
>> programming, and your keyboard doesn't let you easily type '{}', it 
>> sounds
>> like you just bought the wrong keyboard.  Java, C#, C/C++, D, etc. all 
>> use
>> curly braces to denote blocks of code.  I guess Danish and German 
>> keyboard
>> developers aren't expecting their people to program in decent programming
>> languages?
>>
>> Kinda shortsighted if you ask me...
>>
>> -Steve
>>
>>
>
> Yes, i guess they thought people want to write danish or german text.
> Stupid they are :D

What I meant was, is it not possible to dedicate some keys to type { } *and* 
allow typing german/danish text?  Is there not a way to have both?  That's 
all I was saying.  I only ever use curly braces in code,  I almost never use 
it while typing English text.  Yet there those keys are ;)  It probably was 
more of a process where those symbols were chosen *because* the keys were 
easy to find, but still, a "programmer's" german keyboard seems like a 
distinct possibility.

-Steve 





More information about the Digitalmars-d mailing list