foo!(bar) ==> foo{bar}
Denis Koroskin
2korden at gmail.com
Tue Oct 7 10:26:03 PDT 2008
On Tue, 07 Oct 2008 21:19:00 +0400, Steven Schveighoffer
<schveiguy at yahoo.com> wrote:
> "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
>
>
Well, actually there *is* a solution (on Windows, at least). You can add
your favorite input language with an international keyboard layout. This
way your keyboard layout would match English (UK/US) with all the
Danish/Spanish/German etc key avaliable through AltGr.
More information about the Digitalmars-d
mailing list