www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DIP6

reply Kagamin <spam here.lot> writes:
http://www.prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP6

Java's syntax has the advantage of having to type less when the annotation has
no arguments:  annotation vs. [annotation].
In both cases you have a two-keys overhead.
Oct 14 2009
parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
Kagamin wrote:
 http://www.prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP6
 
 Java's syntax has the advantage of having to type less when the annotation has
no arguments:  annotation vs. [annotation].
In both cases you have a two-keys overhead.
No, why?
Oct 14 2009
parent reply Bill Baxter <wbaxter gmail.com> writes:
On Wed, Oct 14, 2009 at 5:47 AM, Ary Borenszweig <ary esperanto.org.ar> wrote:
 Kagamin wrote:
 http://www.prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP6

 Java's syntax has the advantage of having to type less when the
 annotation has no arguments:  annotation vs. [annotation].
In both cases you have a two-keys overhead.
No, why?
Maybe you have a different keyboard layout than Kagamin and me. On a US layout -- is Shift+2 but [ and ] are single keystrokes. --bb
Oct 14 2009
next sibling parent reply Jeremie Pelletier <jeremiep gmail.com> writes:
Bill Baxter wrote:
 On Wed, Oct 14, 2009 at 5:47 AM, Ary Borenszweig <ary esperanto.org.ar> wrote:
 Kagamin wrote:
 http://www.prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP6

 Java's syntax has the advantage of having to type less when the
 annotation has no arguments:  annotation vs. [annotation].
In both cases you have a two-keys overhead.
No, why?
Maybe you have a different keyboard layout than Kagamin and me. On a US layout -- is Shift+2 but [ and ] are single keystrokes. --bb
Back when I started programming on a french canadian layout, most of these symbols were located at crazy places, like ? is shift-6, [], {}, <> are all found using right-alt + one of the many keys close to enter, which are used for accents, really annoying. Even the backslash is located at right-alt + the key left to 1. And people here wonder why I custom order my laptops and keyboards to get native US layouts.. Jeremie
Oct 14 2009
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
Jeremie Pelletier schrieb:
 Back when I started programming on a french canadian layout, most of
 these symbols were located at crazy places, like ? is shift-6, [], {},
 <> are all found using right-alt + one of the many keys close to enter,
 which are used for accents, really annoying. Even the backslash is
 located at right-alt + the key left to 1.
 
 And people here wonder why I custom order my laptops and keyboards to
 get native US layouts..
 
 Jeremie
Hehe, same here in Germany
Oct 14 2009
parent Kagamin <spam here.lot> writes:
Frank Benoit Wrote:

 And people here wonder why I custom order my laptops and keyboards to
 get native US layouts..
 
 Jeremie
Hehe, same here in Germany
In non-latin keyboard layouts there's no latin symbols at all. Feel the difference.
Oct 14 2009
prev sibling parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
Bill Baxter wrote:
 On Wed, Oct 14, 2009 at 5:47 AM, Ary Borenszweig <ary esperanto.org.ar> wrote:
 Kagamin wrote:
 http://www.prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP6

 Java's syntax has the advantage of having to type less when the
 annotation has no arguments:  annotation vs. [annotation].
In both cases you have a two-keys overhead.
No, why?
Maybe you have a different keyboard layout than Kagamin and me. On a US layout -- is Shift+2 but [ and ] are single keystrokes. --bb
Ah, two keys. I thought two chars. But I use the pinky finger to do the shift, isn't that less that a full blown finger to do [ or ]?
Oct 14 2009
next sibling parent Chris Nicholson-Sauls <ibisbasenji gmail.com> writes:
Ary Borenszweig wrote:
 Bill Baxter wrote:
 On Wed, Oct 14, 2009 at 5:47 AM, Ary Borenszweig 
 <ary esperanto.org.ar> wrote:
 Kagamin wrote:
 http://www.prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP6

 Java's syntax has the advantage of having to type less when the
 annotation has no arguments:  annotation vs. [annotation].
In both cases you have a two-keys overhead.
No, why?
Maybe you have a different keyboard layout than Kagamin and me. On a US layout -- is Shift+2 but [ and ] are single keystrokes. --bb
Ah, two keys. I thought two chars. But I use the pinky finger to do the shift, isn't that less that a full blown finger to do [ or ]?
I was thinking the same thing... but then again I don't think typing "Ctl-Alt-K [ Ctl-Alt-K Ctl-Alt-K" just to get an eth (ð) is a big deal... -- Chris Nicholson-Sauls
Oct 14 2009
prev sibling parent reply Kagamin <spam here.lot> writes:
Ary Borenszweig Wrote:

 On a US layout --
    is Shift+2
 but [ and ] are single keystrokes.
 
 --bb
Ah, two keys. I thought two chars. But I use the pinky finger to do the shift, isn't that less that a full blown finger to do [ or ]?
I thought, I'll break my fingers trying to do it. I usually use right shift to type (both arms). Well, obviously it will be no problem to you to press [ and ] with little finger.
Oct 15 2009
parent Kagamin <spam here.lot> writes:
Kagamin Wrote:

 Ary Borenszweig Wrote:
 
 On a US layout --
    is Shift+2
 but [ and ] are single keystrokes.
 
 --bb
Ah, two keys. I thought two chars. But I use the pinky finger to do the shift, isn't that less that a full blown finger to do [ or ]?
I thought, I'll break my fingers trying to do it. I usually use right shift to type (both arms). Well, obviously it will be no problem to you to press [ and ] with little finger.
I think, the assertion in question should be removed from the DIP since it doesn't scale well to other people.
Oct 15 2009