foo!(bar) ==> foo{bar}
Alexander Pánek
alexander.panek at brainsware.org
Tue Oct 7 15:01:13 PDT 2008
Steven Schveighoffer 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.
I’m using a modified US layout, with ä on AltGr+a, ö on AltGr+o, ..., as
well as typographically correct quotes for English, German and French
(“”, „”, «»/»«), a proper apostrophe (’), a €-sign on AltGr+e, etc.
Works pretty well for me. Also, if anyone else is using my computer, I
just change the layout to the German one and change it back afterwards.
Not a big thing.
More information about the Digitalmars-d
mailing list